首页上一页 1 下一页尾页 2 条记录 1/1页
Visual C++开发典型模块大全 问题
发表在C语言图书答疑
2009-10-25
是否精华
是
否
版块置顶:
是
否
在这个书中的代码第三部分,编译不通过,下载了PsdLib库,libexif库,路径已经正确,能连接了,但是错误一堆:
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(41) : error C2065: 'ULONG_PTR' : undeclared identifier
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(41) : error C2065: 'token' : undeclared identifier
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(41) : error C2165: 'left-side modifier' : cannot modify pointers to data
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(41) : error C2071: 'NotificationHookProc' : illegal storage class
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(42) : error C2146: syntax error : missing ')' before identifier 'token'
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(42) : error C2165: 'left-side modifier' : cannot modify pointers to data
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(42) : error C2071: 'NotificationUnhookProc' : illegal storage class
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(42) : error C2059: syntax error : ')'
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(93) : error C2059: syntax error : 'const'
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(99) : error C2146: syntax error : missing ')' before identifier 'token'
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(99) : warning C4229: anachronism used : modifiers on data are ignored
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(99) : error C2182: 'GdiplusShutdown' : illegal use of type 'void'
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(99) : error C2059: syntax error : ')'
例如上面的,总共255个error,帮忙看看是那个头文件没连接上呢,还是缺少库,多谢老师。。。
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(41) : error C2065: 'ULONG_PTR' : undeclared identifier
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(41) : error C2065: 'token' : undeclared identifier
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(41) : error C2165: 'left-side modifier' : cannot modify pointers to data
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(41) : error C2071: 'NotificationHookProc' : illegal storage class
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(42) : error C2146: syntax error : missing ')' before identifier 'token'
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(42) : error C2165: 'left-side modifier' : cannot modify pointers to data
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(42) : error C2071: 'NotificationUnhookProc' : illegal storage class
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(42) : error C2059: syntax error : ')'
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(93) : error C2059: syntax error : 'const'
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(99) : error C2146: syntax error : missing ')' before identifier 'token'
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(99) : warning C4229: anachronism used : modifiers on data are ignored
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(99) : error C2182: 'GdiplusShutdown' : illegal use of type 'void'
e:\vc diksourcecode\mr\03\imagemanage\gdiplus\\gdiplusinit.h(99) : error C2059: syntax error : ')'
例如上面的,总共255个error,帮忙看看是那个头文件没连接上呢,还是缺少库,多谢老师。。。