在c++项目文件中找不到afxwin.h这个头文件怎么做?
黄舟
黄舟 2017-04-17 14:30:49
0
1
1845

用的VS2013版.程序提示错误为“未定义标识符”,发现没有afxwin.h这个源文件,尝试着将MFC改成动态库,也没成功,想要在重新创建个MFC.dll,但是发现在新建中没有MFC这一项,求教!

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
PHPzhong

1. It may be a problem with the Visual studio version. Are you using the professional version (pro)? Someone said on stackoverflow, afxwin.h is MFC and MFC is not included in the free version of VC++ (Express Edition). I don’t know if VS2013express is like this. I use VS2015. . .
2. Try searching for afxwin.h

in the vs installation directory. If this file exists, then include this include folder into VS's includeIn settings, you can search online to find out how to include it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template