主题:怎么在VC6.0中使用GDI+?我把DLL,LIB和.h文件都加进去了,我什么都还没写呢,错就出了
--------------------Configuration: Myimgapp - Win32 Release--------------------
Compiling...
StdAfx.cpp
G:\VC98\INCLUDE\GdiplusInit.h(39) : error C2065: 'ULONG_PTR' : undeclared identifier
G:\VC98\INCLUDE\GdiplusInit.h(39) : error C2065: 'token' : undeclared identifier
G:\VC98\INCLUDE\GdiplusInit.h(39) : error C2165: 'left-side modifier' : cannot modify pointers to data
G:\VC98\INCLUDE\GdiplusInit.h(39) : error C2071: 'NotificationHookProc' : illegal storage class
G:\VC98\INCLUDE\GdiplusInit.h(40) : error C2146: syntax error : missing ')' before identifier 'token'
G:\VC98\INCLUDE\GdiplusInit.h(40) : error C2165: 'left-side modifier' : cannot modify pointers to data
G:\VC98\INCLUDE\GdiplusInit.h(40) : error C2071: 'NotificationUnhookProc' : illegal storage class
G:\VC98\INCLUDE\GdiplusInit.h(40) : error C2059: syntax error : ')'
G:\VC98\INCLUDE\GdiplusInit.h(91) : error C2059: syntax error : 'const'
G:\VC98\INCLUDE\GdiplusInit.h(97) : error C2146: syntax error : missing ')' before identifier 'token'
G:\VC98\INCLUDE\GdiplusInit.h(97) : warning C4229: anachronism used : modifiers on data are ignored
G:\VC98\INCLUDE\GdiplusInit.h(97) : error C2182: 'GdiplusShutdown' : illegal use of type 'void'
G:\VC98\INCLUDE\GdiplusInit.h(97) : error C2059: syntax error : ')'
Error executing cl.exe.
Myimgapp.exe - 12 error(s), 1 warning(s)
Compiling...
StdAfx.cpp
G:\VC98\INCLUDE\GdiplusInit.h(39) : error C2065: 'ULONG_PTR' : undeclared identifier
G:\VC98\INCLUDE\GdiplusInit.h(39) : error C2065: 'token' : undeclared identifier
G:\VC98\INCLUDE\GdiplusInit.h(39) : error C2165: 'left-side modifier' : cannot modify pointers to data
G:\VC98\INCLUDE\GdiplusInit.h(39) : error C2071: 'NotificationHookProc' : illegal storage class
G:\VC98\INCLUDE\GdiplusInit.h(40) : error C2146: syntax error : missing ')' before identifier 'token'
G:\VC98\INCLUDE\GdiplusInit.h(40) : error C2165: 'left-side modifier' : cannot modify pointers to data
G:\VC98\INCLUDE\GdiplusInit.h(40) : error C2071: 'NotificationUnhookProc' : illegal storage class
G:\VC98\INCLUDE\GdiplusInit.h(40) : error C2059: syntax error : ')'
G:\VC98\INCLUDE\GdiplusInit.h(91) : error C2059: syntax error : 'const'
G:\VC98\INCLUDE\GdiplusInit.h(97) : error C2146: syntax error : missing ')' before identifier 'token'
G:\VC98\INCLUDE\GdiplusInit.h(97) : warning C4229: anachronism used : modifiers on data are ignored
G:\VC98\INCLUDE\GdiplusInit.h(97) : error C2182: 'GdiplusShutdown' : illegal use of type 'void'
G:\VC98\INCLUDE\GdiplusInit.h(97) : error C2059: syntax error : ')'
Error executing cl.exe.
Myimgapp.exe - 12 error(s), 1 warning(s)