在VC 中如何用_beginthread,我已经
#pragma comment(lib,"LIBCMT.LIB")
#include <process.h>
但是还是提示"error C2065: '_beginthread' : undeclared identifier"
在VC " select the
Multi-Threaded runtime library in the compiler Project Settings
dialog box."不知在哪里设置这些?
#pragma comment(lib,"LIBCMT.LIB")
#include <process.h>
但是还是提示"error C2065: '_beginthread' : undeclared identifier"
在VC " select the
Multi-Threaded runtime library in the compiler Project Settings
dialog box."不知在哪里设置这些?
菜单->Project->settings->c/c++->,“User runtime libarary”改成 debug multithreaded dll(debug版本)或者multithreaded dll(release版本)