用的VS2013版.程序提示错误为“未定义标识符”,发现没有afxwin.h这个源文件,尝试着将MFC改成动态库,也没成功,想要在重新创建个MFC.dll,但是发现在新建中没有MFC这一项,求教!
PHPz2017-04-17 14:32:49
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 include
In settings, you can search online to find out how to include it