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