I am trying to create a new thread of execution by calling :
_beginthread( simulateBMP, 0, NULL );
void simulateBMP() will be the function holding the code for this new thread. However, I got a compilation error when I try to compile my program using Visual C++ 6.0.
Even though, I have included the proper library by calling :
I still get the following strange error:
D:\MyProjects\MainBlock.cpp(296) : error C2065: '_beginthread' : undeclared identifier
_beginthread is a function defined in <process.h>. Why am I getting this error????
How can I go around it???
Thanks in advance