错误C3861:"

编程入门 行业动态 更新时间:2024-10-22 14:39:15
本文介绍了错误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:"

本文发布于:2023-10-07 15:23:11,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1469760.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   quot

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!