Error Undeclared identifier error _beginthread

naresha1's Avatar
Newbie Member
iam naresh
iam getting an error while writing the _beginthread function.
process.h is included
its a win32 base console application
if i do this->
"Project|Settings|C/C++|Code generation|Use runtime library: (Debug)
> multithreaded"
then iam getting unresolved external symbol error in linking :_function()@1
plz get me the solution
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
To use _beginthread or _beginthreadex, the application must link with one of the multithreaded C run-time libraries.

Link to
LIBCMT.LIB -- static link
MSVCRT.LIB -- dynamic link