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

Start without any error in the debug directory  

Always at release

--------------------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 modifiers

Later StdAfx will contain stdafx or error alone 

But the two together actually contains the right

Is this not a two file?
---------------------
Author: chasexie (xiehonghao)
Source: CSDN
Original: https: //blog.csdn.net/hnust_xiehonghao/article/details/8578241
copyright Disclaimer: This article is a blogger original article, reproduced, please attach Bowen link!

Guess you like

Origin www.cnblogs.com/ZHENGJUNupperclassman/p/10980206.html