Subj : Re: CreateThread To : borland.public.cpp.borlandcpp From : waking Date : Sat May 22 2004 05:12 pm On Fri, 21 May 2004 21:03:14 -1000, "mike" wrote: >i'm used the win32 CreateThread () along with borland 5.02. Have you tried using _beginthread and _endthread instead? The RTL will not be conditioned properly if you simply use the Win32 API thread functions directly. From the compiler's help: "The _beginthread function creates and starts a new thread. The thread terminates by simply returning, or by calling _endthread. Either this function or _beginthreadNT must be used instead of the operating system thread-creation API function because _beginthread and _beginthreadNT perform initialization required for correct operation of the run-time library functions. This function is available only in the multithread libraries." -- Wayne A. King (waking@idirect.com, Wayne_A_King@compuserve.com) .