zoukankan      html  css  js  c++  java
  • 【MFC】error C2065: 'AfxGetFileName' : undeclared identifier

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

    在release下总是

    --------------------Configuration: maizang - Win32 Debug--------------------
    Compiling...
    APPINIT.CPP
    C:Program FilesMicrosoft Visual StudioVC98MFCSRCAPPINIT.CPP(90) : error C2065: 'AfxGetFileName' : undeclared identifier
    C:Program FilesMicrosoft Visual StudioVC98MFCSRCAPPINIT.CPP(102) : error C2065: 'AfxLoadString' : undeclared identifier
    C:Program FilesMicrosoft Visual StudioVC98MFCSRCAPPINIT.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
    版权声明:本文为博主原创文章,转载请附上博文链接!

  • 相关阅读:
    spring cloud教程
    ideaaaaaaaaa
    Django
    Django 基础介绍
    Pychram
    python
    python
    python
    Python
    Python -- Scrapy 命令行工具(command line tools)
  • 原文地址:https://www.cnblogs.com/ZHENGJUNupperclassman/p/10980206.html
Copyright © 2011-2022 走看看