Hi...
Like Bob Hayes I have build many multitrhread application directly by calling WIN32 SDK... function..
like:
// Set main thread ID
ID_main= GetCurrentThreadId();
// Get Handle to thread
eThreads[0]= (long)CreateEvent(0, TRUE, 0, 0);
eThreads[1]= (long)CreateEvent(0, TRUE, 0, 0);
// Start threads
hThreads[0]= (long) CreateThread(NULL, 0, DataAquisition, (LPVOID)eThreads[0], 0, &ID_DAQ);
hThreads[1]= (long) CreateThread(NULL, 0, DataCrunching, (LPVOID)eThreads[1], 0, &ID_cruncher);
// Wait for the initialization
WaitForMultipleObjects(2, (HANDLE)eThreads, TRUE, INFINITE);
// Initialize message loop
PeekMessage(&msg, NULL, WM_USER, WM_USER, PM_NOREMOVE);
and... many other...
If you want I can send a template
files for building multi thread application... give me a ring... sdesjardins@fenclo.com
Best Regards
Steph