I am trying to use the _beginthreadex function instead of CreateThread (because I am more comfortable using older C functions), but even when I include <process.h> I get "...cpp(764) : error C2065: '_beginthreadex' : undeclared identifier"
So, I added the prototype myself:
unsigned long __cdecl _beginthreadex(void *, unsigned, unsigned (__stdcall *) (void *), void *, unsigned, unsigned *);
but then I started receiving...
...obj : error LNK2001: unresolved external symbol "unsigned long __cdecl _beginthreadex(void *,unsigned int,unsigned int (__stdcall*)(void *),void *,unsigned int,unsigned int *)" (?_beginthreadex@@YAKPAXIP6GI0@Z0IPAI@Z)
So, of course, I linked LIBCMT.LIB and also tried MSVCRT.LIB, but i still received the same "unresolved external symbol" error.
Is there something else I need to do?? (I am using Visual C++ 6.0 -- this is a non-MFC app I am working on)