NIF_INFO在MFC中能通过编译,但在WIN32 纯C SDK中编译时,说没有定义,我包含的头文件是
#include <windows.h>
#include <SHELLAPI.h>
请问如何解决?

解决方案 »

  1.   

    已经定义过了,还是不行!
    我的配置
    Vista + VC2005
      

  2.   

    #define _WIN32_IE 0x0500
    #include <windows.h>
    #include <SHELLAPI.h>
      

  3.   

    奇怪,我的是
    #include <windows.h>
    #if  _WIN32_IE < 0x0500
    #undef _WIN32_IE
    #define _WIN32_IE 0x0500
    #endif
    #include <SHELLAPI.h>
    怎么有时候可以,再按F7有时候不行,再按F7几次又可以了,不知道是什么回事?