开发者

Strange build errors in MFC application

I am writing a port scanning application in MFC C++ using Visual Studio 2010. When I try to compile, I get >100 errors, all connected with 开发者_如何学编程the files atlcore.h and afxcomctl32.h.

All of them are error #C3861, "Identifier Not Found."

I have not edited these files in any way. Anybody know why this would be doing that?

Thanks


OK I figured it out! the reason it was not compiling and throwing all those error is because I'm using VS 2010 on a Windows XP, and the MFC support is for OSs Windows Vista and up. I tried compiling my code in Visual Studio 2008 and it worked, so I guess I just will have to use VS 2008 for MFC C++.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜