关于Cannot open include file: ‘GdiplusMem.h’的问题

VC++代码,发现运行的时候有有如下的错误提示

fatal error C1083: Cannot open include file: ‘GdiplusMem.h’: No such file or directory
要安装Microsoft SDK。然后在VC环境设置中,选择Tools->Options->Directories,在include   files和library  files中,把相应的SDK中的文件路径包含进去。

这里是下载的地址:

下面是链接

http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.1.cab
http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.2.cab
http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.3.cab
http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.4.cab
http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.5.cab
http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.6.cab
http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.7.cab
http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.8.cab
http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.9.cab
http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.10.cab
http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.11.cab
http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.12.cab
http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.13.cab
http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/FULL/PSDK-FULL.bat
Extract.exe

介绍一下安装方法:

1.下载后全部放在一个文件夹中.如d:\temp

2.打开命令行,移动到该文件夹.如 cd /d d:\temp

3.执行PSDK-FULL.注意给出要解压到的文件夹,如 PSDK-FULL d:\sdk

4.退出命令行,到d:\sdk中运行Setup.Exe.会弹出一个安装WEB页.

5.在页面左上角选 Download->Install,按照安装提示操作.

Leave a comment

您的电子邮箱地址不会被公开。