这个问题 在使用 多线程 操作的时候遇到的很少, 一旦遇到 第一个 反应 应该是 process.h 冲了。
这也是 概率 问题。
我正在尝试将项目从VS2008转换为VS2013,而我遇到的问题之一就是:
c:program files (x86)microsoft visual studio 12.0vcatlmfcincludeatlbase.h(4953): error C3861: '_beginthreadex': identifier not found
我在网上搜索了一个解决方案,我已经在我的StdAfx.h中包含了process.h,(不确定它是否重要,但我把它放在#include和#include之下,否则我会收到一个“ Windows.h“已包含错误”。
你需要:
#include#include
crtdefs.h将定义/取消定义_CRT_USE_WINAPI_FAMILY_DESKTOP_APP,其中_beginthreadex包含在process.h中。
您必须包含process.h才能访问此功能。
在MFC应用程序内部,您应该使用AfxBeginThread。
暑期编程PK赛 得CSDN机械键盘等精美礼品!


