This is the mail archive of the
pthreads-win32@sourceware.org
mailing list for the pthreas-win32 project.
the multi-threaded.cpp give runtime error under vc6
- From: "Meir Yanovich" <meiry242 at gmail dot com>
- To: pthreads-win32 at sourceware dot org
- Date: Sat, 19 Apr 2008 10:59:01 +0200
- Subject: the multi-threaded.cpp give runtime error under vc6
Hello all
im trying to run the multi-threaded.cpp example im compiling it under
visual studio 6 where the pthread compiled as "debug multithreaded
dll" and as static lib .
i even added the :
#ifdef PTW32_STATIC_LIB
pthread_win32_process_attach_np();
#endif
code ...
code ...
code ...
#ifdef PTW32_STATIC_LIB
pthread_win32_process_detach_np();
#endif
but when i run the example im geting error :
The thread 0xBB8 has exited with code 0 (0x0).
The thread 0xB84 has exited with code 0 (0x0).
The thread 0x964 has exited with code 0 (0x0).
The program 'I:\\cUrl_test3\Debug\cUrl_test3.exe' has exited with code 0 (0x0).
what i need to do to run the example right ?