Hallo Martin,
CreateThread() und GetExitCodeThread()
ich sehe auf der CreateThread Seite gerade noch was anderes:
A thread in an executable that calls the C run-time library (CRT) should use the _beginthreadex and _endthreadex functions for thread management rather than CreateThread and ExitThread; this requires the use of the multithreaded version of the CRT. If a thread created using CreateThread calls the CRT, the CRT may terminate the process in low-memory conditions.
Verwendest Du die CRT im Thread? Das ist ja fast kaum vermeidbar...
Rolf
--
sumpsi - posui - obstruxi
sumpsi - posui - obstruxi