你的系统是WIN2000就可以了呗。

解决方案 »

  1.   

    我的系统是win2000啊,
    Installation History 中已经有 
    Integrate with Microsoft Visual C++ 6.0 
    Register Environment Variables或者问,怎样用msdn查出我所用的api在那个sdk中,应该安装那个sdk?
    我安装了Microsoft Core SDK 
    我要用的api是 GetWindowLongPtr和SetLayeredWindowAttributes
      

  2.   

    GetWindowLongPtr,SetLayeredWindowAttributes在WINUSER.h中,请问你怎么装的SDK,它能自动升级你的VC6.0吗?
      

  3.   

    只用安装Microsoft Core SDK 就可以用GetWindowLongPtr和SetLayeredWindowAttributes,但是使用这两个函数时要定义Windows版本.可以见"winuser.h":
    #if(_WIN32_WINNT >= 0x0500)
    WINUSERAPI
    BOOL
    WINAPI
    SetLayeredWindowAttributes(....);
    #endif /* _WIN32_WINNT >= 0x0500 */所以要使用这些函数,必须在你的程序里定义:#define_WIN32_WINNT  0x0500//大于此数也可以.