'_endthreadex' : undeclared identifier
Posted on 2003-11-19
I have to admit that I'm still very new to multithreading in C++ but I got this code running without the merest error on Dev-Cpp so it must work on VC++ too.
Well I have a Thread class that I found somewhere on the net. But when I try to compile the code I get the following error (only the part wich is interesting):
Thread.hpp(180) : error C2065: '_beginthreadex' : undeclared identifier
xlocale(467) : while compiling class-template member function 'bool __thiscall Thread::TThread<class Socket>::Start(void)'
Thread.cpp(21) : error C2065: '_beginthreadex' : undeclared identifier
Thread.cpp(98) : error C2065: '_endthreadex' : undeclared identifier
I know that these 3 functions are defined in process.h and inside the class I included them too but it doesn't work.
Hope you can help me