我正在尝试将项目从VS2008转换为VS2013,我遇到的一个(众多)问题是:
I'm trying to convert a project from VS2008 to VS2013 and one (of the many) problem's I have encountered is this:
c:\program files (x86)\microsoft visual studio 12.0\vc\atlmfc\include\atlbase.h(4953): error C3861: '_beginthreadex': identifier not found我已经在网上搜索了一个解决方案,我已经在我的StdAfx.h中包含了process.h,(不确定是否重要,但是我将其放在#include和#include下方,否则会收到"Windows.h"已包含错误).
I've searched the net for a solution, I have already include process.h in my StdAfx.h, (not sure if it matters, but I placed it below the #include and #include or else I receive a "Windows.h" already included error).
我使用MFC作为共享dll,正在/MDd进行编译,并检查-D_MT标志是否打开. (我也没有在代码中执行#undef _MT).
I am using MFC as shared dll, I am compiling with /MDd and checked that -D_MT flag is on. (I am also not doing #undef _MT in my code).
我该如何解决这个问题?
How can I solve this issue?
推荐答案我发现了问题所在.在附加包含目录中首先添加了"C:\ Program Files(x86)\ Microsoft Visual Studio 12.0 \ VC \ include"之后,附加包含目录之一中存在另一个"process.h"文件,此问题已解决.
I found out what the problem was. I had a different "process.h" file in one of the additional include directories, after adding "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include" first in the additional include directories the problem was solved.
更多推荐
错误C3861:"
发布评论