错误C3861:"_ beginthreadex":找不到标识符 [英] error C3861: '_beginthreadex': identifier not found

查看:985
本文介绍了错误C3861:"_ beginthreadex":找不到标识符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将项目从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:"_ beginthreadex":找不到标识符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆