大家看看我在调试的时候,本应该不出现的问题!
但还是出现了!是rxmfcapi.h文件出错了!但其它的*.h文件又正常!重新找了个objectARX2004\2005\2006这个文件都出错了!怎么办呢!大家说说这是为什么,后来我把这个函数调用的语句全部去掉,也就是说只加了#include "rxmfcapi.h",还是出错哦!怎么办呢?????????
--------------------Configuration: AutoArx - Win32 Debug-------------------- Compiling... AutoCAD.cpp C:\OBJECTARX2002\INC\rxmfcapi.h(64) : error C2143: syntax error : missing ';' before '*' C:\OBJECTARX2002\INC\rxmfcapi.h(64) : error C2501: 'CWinApp' : missing storage-class or type specifiers C:\OBJECTARX2002\INC\rxmfcapi.h(64) : error C2501: 'acedGetAcadWinApp' : missing storage-class or type specifiers C:\OBJECTARX2002\INC\rxmfcapi.h(70) : error C2143: syntax error : missing ';' before '*' C:\OBJECTARX2002\INC\rxmfcapi.h(70) : error C2501: 'CDocument' : missing storage-class or type specifiers C:\OBJECTARX2002\INC\rxmfcapi.h(70) : error C2501: 'acedGetAcadDoc' : missing storage-class or type specifiers C:\OBJECTARX2002\INC\rxmfcapi.h(76) : error C2143: syntax error : missing ';' before '*' C:\OBJECTARX2002\INC\rxmfcapi.h(76) : error C2501: 'CView' : missing storage-class or type specifiers C:\OBJECTARX2002\INC\rxmfcapi.h(76) : error C2501: 'acedGetAcadDwgView' : missing storage-class or type specifiers C:\OBJECTARX2002\INC\rxmfcapi.h(81) : error C2143: syntax error : missing ';' before '*' C:\OBJECTARX2002\INC\rxmfcapi.h(81) : error C2501: 'CMDIFrameWnd' : missing storage-class or type specifiers C:\OBJECTARX2002\INC\rxmfcapi.h(81) : error C2501: 'acedGetAcadFrame' : missing storage-class or type specifiers C:\OBJECTARX2002\INC\rxmfcapi.h(86) : error C2143: syntax error : missing ';' before '*' C:\OBJECTARX2002\INC\rxmfcapi.h(86) : error C2501: 'CWnd' : missing storage-class or type specifiers C:\OBJECTARX2002\INC\rxmfcapi.h(86) : error C2501: 'acedGetAcadDockCmdLine' : missing storage-class or type specifiers C:\OBJECTARX2002\INC\rxmfcapi.h(91) : error C2143: syntax error : missing ';' before '*' C:\OBJECTARX2002\INC\rxmfcapi.h(91) : error C2501: 'CWnd' : missing storage-class or type specifiers C:\OBJECTARX2002\INC\rxmfcapi.h(91) : error C2086: 'CWnd' : redefinition C:\OBJECTARX2002\INC\rxmfcapi.h(91) : error C2501: 'acedGetAcadTextCmdLine' : missing storage-class or type specifiers C:\OBJECTARX2002\INC\rxmfcapi.h(110) : error C2143: syntax error : missing ',' before '&' C:\OBJECTARX2002\INC\rxmfcapi.h(110) : error C2059: syntax error : '&' C:\OBJECTARX2002\INC\rxmfcapi.h(116) : error C2061: syntax error : identifier 'CPoint' C:\OBJECTARX2002\INC\rxmfcapi.h(116) : error C2556: 'int __cdecl acedCoordFromPixelToWorld(int)' : overloaded function differs only by return type from 'void __cdecl acedCoordFromPixelToWorld(const int)' C:\OBJECTARX2002\INC\rxmfcapi.h(110) : see declaration of 'acedCoordFromPixelToWorld' C:\OBJECTARX2002\INC\rxmfcapi.h(116) : error C2371: 'acedCoordFromPixelToWorld' : redefinition; different basic types C:\OBJECTARX2002\INC\rxmfcapi.h(110) : see declaration of 'acedCoordFromPixelToWorld' C:\OBJECTARX2002\INC\rxmfcapi.h(122) : error C2061: syntax error : identifier 'CPoint' C:\OBJECTARX2002\INC\rxmfcapi.h(250) : error C2061: syntax error : identifier 'CView' C:\OBJECTARX2002\INC\rxmfcapi.h(257) : error C2143: syntax error : missing ';' before '&' C:\OBJECTARX2002\INC\rxmfcapi.h(257) : error C2734: 'CString' : const object must be initialized if not extern |