永发信息网

VC6.0编译时只提示缺少gdiplus.h include的后出现更多问题 相同程序在公司电脑没问题 应该是一个问题造成

答案:2  悬赏:50  手机版
解决时间 2021-12-28 01:04
  • 提问者网友:無理詩人
  • 2021-12-27 16:53
错误提示:
Compiling...
MainFrm.cpp
d:\code\include\gdiplusinit.h(39) : error C2065: 'ULONG_PTR' : undeclared identifier
d:\code\include\gdiplusinit.h(39) : error C2065: 'token' : undeclared identifier
d:\code\include\gdiplusinit.h(39) : error C2165: 'left-side modifier' : cannot modify pointers to data
d:\code\include\gdiplusinit.h(39) : error C2071: 'NotificationHookProc' : illegal storage class
d:\code\include\gdiplusinit.h(40) : error C2146: syntax error : missing ')' before identifier 'token'
d:\code\include\gdiplusinit.h(40) : error C2165: 'left-side modifier' : cannot modify pointers to data
d:\code\include\gdiplusinit.h(40) : error C2071: 'NotificationUnhookProc' : illegal storage class
d:\code\include\gdiplusinit.h(40) : error C2059: syntax error : ')'
d:\code\include\gdiplusinit.h(91) : error C2059: syntax error : 'const'
d:\code\include\gdiplusinit.h(97) : error C2146: syntax error : missing ')' before identifier 'token'
d:\code\include\gdiplusinit.h(97) : warning C4229: anachronism used : modifiers on data are ignored
d:\code\include\gdiplusinit.h(97) : error C2182: 'GdiplusShutdown' : illegal use of type 'void'
d:\code\include\gdiplusinit.h(97) : error C2059: syntax error : ')'
SmallView1.cpp
d:\code\include\gdiplusinit.h(39) : error C2065: 'ULONG_PTR' : undeclared identifier
d:\code\include\gdiplusinit.h(39) : error C2065: 'token' : undeclared identifier
d:\code\include\gdiplusinit.h(39) : error C2165: 'left-side modifier' : cannot modify pointers to data
d:\code\include\gdiplusinit.h(39) : error C2071: 'NotificationHookProc' : illegal storage class
d:\code\include\gdiplusinit.h(40) : error C2146: syntax error : missing ')' before identifier 'token'
d:\code\include\gdiplusinit.h(40) : error C2165: 'left-side modifier' : cannot modify pointers to data
d:\code\include\gdiplusinit.h(40) : error C2071: 'NotificationUnhookProc' : illegal storage class
d:\code\include\gdiplusinit.h(40) : error C2059: syntax error : ')'
d:\code\include\gdiplusinit.h(91) : error C2059: syntax error : 'const'
d:\code\include\gdiplusinit.h(97) : error C2146: syntax error : missing ')' before identifier 'token'
d:\code\include\gdiplusinit.h(97) : warning C4229: anachronism used : modifiers on data are ignored
d:\code\include\gdiplusinit.h(97) : error C2182: 'GdiplusShutdown' : illegal use of type 'void'
d:\code\include\gdiplusinit.h(97) : error C2059: syntax error : ')'
WTImage.cpp
d:\code\include\gdiplusinit.h(39) : error C2065: 'ULONG_PTR' : undeclared identifier
d:\code\include\gdiplusinit.h(39) : error C2065: 'token' : undeclared identifier
d:\code\include\gdiplusinit.h(39) : error C2165: 'left-side modifier' : cannot modify pointers to data
最佳答案
  • 五星知识达人网友:往事埋风中
  • 2021-12-27 17:00
缺少了函数库吧
全部回答
  • 1楼网友:孤独入客枕
  • 2021-12-27 17:55
我。。知。。道 加。。我。。私。。聊
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯