VC6.0编译时只提示缺少gdiplus.h include的后出现更多问题 相同程序在公司电脑没问题 应该是一个问题造成 50
错误提示:Compiling...MainFrm.cppd:\code\include\gdiplusinit.h(39):errorC2065:'ULONG_PTR':...
错误提示:
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 展开
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 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询