zoukankan      html  css  js  c++  java
  • [转]EVC 中 include 的错误

    EVC 中 include <Aygshell.h> 的错误
    http://hi.baidu.com/wlcspace

    aygshell.h(68) : error C2061: syntax error : identifier 'IShellPropSheetExt'

    解决方法:
    把 include <Aygshell.h> 添加到StdAfx.h中,把其他文件中的 include <Aygshell.h> 都删掉。
    另外要注意,include <Aygshell.h> 要放到StdAfx.h中其他include的前面。

    修改后的StdAfx.h如下:

    #if !defined(AFX_STDAFX_H__5320ACCF_F901_4DD6_9770_78376A4F8121__INCLUDED_)
    #define AFX_STDAFX_H__5320ACCF_F901_4DD6_9770_78376A4F8121__INCLUDED_

    #if _MSC_VER >= 1000
    #pragma once
    #endif // _MSC_VER >= 1000

    #include <aygshell.h>                 // 放到这里
    #pragma comment(lib, "aygshell.lib")  // 放到这里

    #define VC_EXTRALEAN  // Exclude rarely-used stuff from Windows headers

    #include <afxwin.h>         // MFC core and standard components
    #include <afxext.h>         // MFC extensions

    //......

    #endif

  • 相关阅读:
    PHP比较操作符
    一个给图片加水印的程序
    PHP开发人员:充实您的XML工具箱
    PHP时间函数
    (Oralce)Web翻页优化实例
    PHP文件操作函数
    PHP图象函数
    PHP逻辑操作符
    PHP位操作符
    PHP目录遍历函数
  • 原文地址:https://www.cnblogs.com/answer/p/1335965.html
Copyright © 2011-2022 走看看