首页上一页 1 下一页尾页 2 条记录 1/1页
急,那个高手进来教教。
发表在C语言图书答疑
2009-05-10
是否精华
是
否
版块置顶:
是
否
我买的《VC++开发典型模块大全》第9章计算机监控模块运行不行,是不是要在VC++ 6.0中打上什么补丁。
错误:
Server.cpp
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(39) : error C2065: 'ULONG_PTR' : undeclared identifier
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(39) : error C2065: 'token' : undeclared identifier
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(39) : error C2165: 'left-side modifier' : cannot modify pointers to data
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(39) : error C2071: 'NotificationHookProc' : illegal storage class
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(40) : error C2146: syntax error : missing ')' before identifier 'token'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(40) : error C2165: 'left-side modifier' : cannot modify pointers to data
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(40) : error C2071: 'NotificationUnhookProc' : illegal storage class
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(40) : error C2059: syntax error : ')'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(91) : error C2059: syntax error : 'const'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(97) : error C2146: syntax error : missing ')' before identifier 'token'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(97) : warning C4229: anachronism used : modifiers on data are ignored
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(97) : error C2182: 'GdiplusShutdown' : illegal use of type 'void'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(97) : error C2059: syntax error : ')'
c:\documents and settings\chen\桌面\program\server\serverdlg.h(27) : error C2146: syntax error : missing ';' before identifier 'm_pGdiToken'
c:\documents and settings\chen\桌面\program\server\serverdlg.h(27) : error C2501: 'ULONG_PTR' : missing storage-class or type specifiers
c:\documents and settings\chen\桌面\program\server\serverdlg.h(27) : error C2501: 'm_pGdiToken' : missing storage-class or type specifiers
ServerDlg.cpp
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(39) : error C2065: 'ULONG_PTR' : undeclared identifier
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(39) : error C2065: 'token' : undeclared identifier
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(39) : error C2165: 'left-side modifier' : cannot modify pointers to data
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(39) : error C2071: 'NotificationHookProc' : illegal storage class
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(40) : error C2146: syntax error : missing ')' before identifier 'token'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(40) : error C2165: 'left-side modifier' : cannot modify pointers to data
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(40) : error C2071: 'NotificationUnhookProc' : illegal storage class
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(40) : error C2059: syntax error : ')'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(91) : error C2059: syntax error : 'const'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(97) : error C2146: syntax error : missing ')' before identifier 'token'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(97) : warning C4229: anachronism used : modifiers on data are ignored
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(97) : error C2182: 'GdiplusShutdown' : illegal use of type 'void'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(97) : error C2059: syntax error : ')'
c:\documents and settings\chen\桌面\program\server\serverdlg.h(27) : error C2146: syntax error : missing ';' before identifier 'm_pGdiToken'
c:\documents and settings\chen\桌面\program\server\serverdlg.h(27) : error C2501: 'ULONG_PTR' : missing storage-class or type specifiers
c:\documents and settings\chen\桌面\program\server\serverdlg.h(27) : error C2501: 'm_pGdiToken' : missing storage-class or type specifiers
C:\Documents and Settings\chen\桌面\Program\Server\ServerDlg.cpp(123) : error C2065: 'GdiplusStartup' : undeclared identifier
C:\Documents and Settings\chen\桌面\Program\Server\ServerDlg.cpp(123) : error C2065: 'm_pGdiToken' : undeclared identifier
错误:
Server.cpp
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(39) : error C2065: 'ULONG_PTR' : undeclared identifier
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(39) : error C2065: 'token' : undeclared identifier
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(39) : error C2165: 'left-side modifier' : cannot modify pointers to data
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(39) : error C2071: 'NotificationHookProc' : illegal storage class
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(40) : error C2146: syntax error : missing ')' before identifier 'token'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(40) : error C2165: 'left-side modifier' : cannot modify pointers to data
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(40) : error C2071: 'NotificationUnhookProc' : illegal storage class
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(40) : error C2059: syntax error : ')'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(91) : error C2059: syntax error : 'const'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(97) : error C2146: syntax error : missing ')' before identifier 'token'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(97) : warning C4229: anachronism used : modifiers on data are ignored
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(97) : error C2182: 'GdiplusShutdown' : illegal use of type 'void'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(97) : error C2059: syntax error : ')'
c:\documents and settings\chen\桌面\program\server\serverdlg.h(27) : error C2146: syntax error : missing ';' before identifier 'm_pGdiToken'
c:\documents and settings\chen\桌面\program\server\serverdlg.h(27) : error C2501: 'ULONG_PTR' : missing storage-class or type specifiers
c:\documents and settings\chen\桌面\program\server\serverdlg.h(27) : error C2501: 'm_pGdiToken' : missing storage-class or type specifiers
ServerDlg.cpp
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(39) : error C2065: 'ULONG_PTR' : undeclared identifier
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(39) : error C2065: 'token' : undeclared identifier
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(39) : error C2165: 'left-side modifier' : cannot modify pointers to data
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(39) : error C2071: 'NotificationHookProc' : illegal storage class
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(40) : error C2146: syntax error : missing ')' before identifier 'token'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(40) : error C2165: 'left-side modifier' : cannot modify pointers to data
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(40) : error C2071: 'NotificationUnhookProc' : illegal storage class
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(40) : error C2059: syntax error : ')'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(91) : error C2059: syntax error : 'const'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(97) : error C2146: syntax error : missing ')' before identifier 'token'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(97) : warning C4229: anachronism used : modifiers on data are ignored
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(97) : error C2182: 'GdiplusShutdown' : illegal use of type 'void'
c:\documents and settings\chen\桌面\program\server\gdi\\gdiplusinit.h(97) : error C2059: syntax error : ')'
c:\documents and settings\chen\桌面\program\server\serverdlg.h(27) : error C2146: syntax error : missing ';' before identifier 'm_pGdiToken'
c:\documents and settings\chen\桌面\program\server\serverdlg.h(27) : error C2501: 'ULONG_PTR' : missing storage-class or type specifiers
c:\documents and settings\chen\桌面\program\server\serverdlg.h(27) : error C2501: 'm_pGdiToken' : missing storage-class or type specifiers
C:\Documents and Settings\chen\桌面\Program\Server\ServerDlg.cpp(123) : error C2065: 'GdiplusStartup' : undeclared identifier
C:\Documents and Settings\chen\桌面\Program\Server\ServerDlg.cpp(123) : error C2065: 'm_pGdiToken' : undeclared identifier