首页上一页 1 下一页尾页 2 条记录 1/1页
GDI图像编程
发表在C语言图书答疑
2014-10-27
是否精华
是
否
版块置顶:
是
否
出现以下错误按照书上写的做的:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(39) : error C2065: 'ULONG_PTR' : undeclared identifier
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(39) : error C2065: 'token' : undeclared identifier
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(39) : error C2165: 'left-side modifier' : cannot modify pointers to data
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(39) : error C2071: 'NotificationHookProc' : illegal storage class
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(40) : error C2146: syntax error : missing ')' before identifier 'token'
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(40) : error C2165: 'left-side modifier' : cannot modify pointers to data
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(40) : error C2071: 'NotificationUnhookProc' : illegal storage class
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(40) : error C2059: syntax error : ')'
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(91) : error C2059: syntax error : 'const'
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(97) : error C2146: syntax error : missing ')' before identifier 'token'
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(97) : warning C4229: anachronism used : modifiers on data are ignored
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(97) : error C2182: 'GdiplusShutdown' : illegal use of type 'void'
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(97) : error C2059: syntax error : ')'
c:\program files\microsoft visual studio\myprojects\图像类型转换\stdafx.cpp(5) : error C2059: syntax error : 'PCH creation point'
c:\program files\microsoft visual studio\myprojects\图像类型转换\stdafx.cpp(9) : error C2238: unexpected token(s) preceding ';'
c:\program files\microsoft visual studio\myprojects\图像类型转换\stdafx.cpp(9) : fatal error C1004: unexpected end of file found
Error executing cl.exe.请问下如何解决
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(39) : error C2065: 'token' : undeclared identifier
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(39) : error C2165: 'left-side modifier' : cannot modify pointers to data
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(39) : error C2071: 'NotificationHookProc' : illegal storage class
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(40) : error C2146: syntax error : missing ')' before identifier 'token'
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(40) : error C2165: 'left-side modifier' : cannot modify pointers to data
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(40) : error C2071: 'NotificationUnhookProc' : illegal storage class
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(40) : error C2059: syntax error : ')'
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(91) : error C2059: syntax error : 'const'
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(97) : error C2146: syntax error : missing ')' before identifier 'token'
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(97) : warning C4229: anachronism used : modifiers on data are ignored
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(97) : error C2182: 'GdiplusShutdown' : illegal use of type 'void'
c:\program files\microsoft visual studio\myprojects\图像类型转换\gdiplus\\gdiplusinit.h(97) : error C2059: syntax error : ')'
c:\program files\microsoft visual studio\myprojects\图像类型转换\stdafx.cpp(5) : error C2059: syntax error : 'PCH creation point'
c:\program files\microsoft visual studio\myprojects\图像类型转换\stdafx.cpp(9) : error C2238: unexpected token(s) preceding ';'
c:\program files\microsoft visual studio\myprojects\图像类型转换\stdafx.cpp(9) : fatal error C1004: unexpected end of file found
Error executing cl.exe.请问下如何解决