注册 登录
编程论坛 VC++/MFC

GDI+编程编译错误

chen3bing 发布于 2022-12-14 17:14, 1003 次点击
我使用GDI+编程,
有这么几条语句:
#include "Gdiplus/GdiPlus.h"
#define ULONG_PTR ULONG                                        // GDI+使用了ULONG_PTR类型,而VC6没有定义

#pragma comment(lib, "Gdiplus/GdiPlus.lib")        
using namespace Gdiplus;                                //这是14行
最后那句编译出错:
d:\vc\2. tm(实例源程序)\tm(实例源程序)\sl\12\16\convertimage\convertimagedlg.h(14) : fatal error C1001: INTERNAL COMPILER ERROR
        (compiler file 'msc1.cpp', line 1786)
         Please choose the Technical Support command on the Visual C++
         Help menu, or open the Technical Support help file for more information
ConvertImageDlg.cpp
执行 cl.exe 时出错.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '.\Debug\ConvertImage.sbr': No such file or directory
执行 bscmake.exe 时出错.

ConvertImage.exe - 1 error(s), 0 warning(s)
请高手指教,如何解决?谢谢!
0 回复
1