【MFC】error C2065: 'AfxGetFileName' : undeclared identifier

一开始在debug目录下无任何错误  ide

在release下老是.net

--------------------Configuration: maizang - Win32 Debug--------------------
Compiling...
APPINIT.CPP
C:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\APPINIT.CPP(90) : error C2065: 'AfxGetFileName' : undeclared identifier
C:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\APPINIT.CPP(102) : error C2065: 'AfxLoadString' : undeclared identifier
C:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\APPINIT.CPP(139) : error C2373: 'AfxGetFileName' : redefinition; different type modifiersdebug

后来单独包含stdafx  或者StdAfx  都会报错 blog

可是2个一块儿包含竟然没错了it

难道这2个不是一个文件?
---------------------
做者:chasexie(xiehonghao)
来源:CSDN
原文:https://blog.csdn.net/hnust_xiehonghao/article/details/8578241
版权声明:本文为博主原创文章,转载请附上博文连接!io

相关文章
相关标签/搜索