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

在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

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

但是2个一起包含居然没错了

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

相关文章:

  • 2022-12-23
  • 2021-10-11
  • 2022-02-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2022-12-23
猜你喜欢
  • 2022-01-21
  • 2021-12-16
  • 2021-09-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案