Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Win32 (http://www.go4expert.com/forums/win32/)
-   -   Error Undeclared identifier error _beginthread (http://www.go4expert.com/forums/error-undeclared-identifier-error-t1096/)

naresha1 31Jul2006 15:54

Error Undeclared identifier error _beginthread
 
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 31Jul2006 21:12

Re: Error Undeclared identifier error _beginthread
 
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


All times are GMT +5.5. The time now is 09:42.