Hi All,
I am using the method _beginthreadex to create a thread in Visual Studio 2008 compiling with /MD option as suggested by MSDN.
Code :
ifdef _WINDOWS
_beginthreadex(NULL,0, &CMyClass::threadFunction, NULL, 0, NULL );
#endif
for running i am installing Visual Studio 2008 restributable package but my application crashes. if i am not using this method _beginthreadex, then my application runs correclty,
Please let me know what mistake am i doing,
Thanks,
Yash,