郑军学长

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

一开始在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
版权声明:本文为博主原创文章,转载请附上博文链接!

posted on 2019-06-05 16:10  郑军学长  阅读(402)  评论(0编辑  收藏  举报