几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   ObjectARX(C++) (http://www.dimcax.com/hust/forumdisplay.php?f=34)
-   -   【转帖】[arx]请问关于objcetarx开发包中函数问题! (http://www.dimcax.com/hust/showthread.php?t=6520)

yang686526 2009-04-16 12:43 PM

【转帖】[arx]请问关于objcetarx开发包中函数问题!
 
[arx]请问关于objcetarx开发包中函数问题!
[arx]请问关于objcetarx开发包中函数问题!
大家看看我在调试的时候,本应该不出现的问题!
但还是出现了!是rxmfcapi.h文件出错了!但其它的*.h文件又正常!重新找了个objectarx4\5\6这个文件都出错了!怎么办呢!大家说说这是为什么,后来我把这个函数调用的语句全部去掉,也就是说只加了#include "rxmfcapi.h",还是出错哦!怎么办呢?????????
--------------------configuration: autoarx - win32 debug--------------------
compiling...
autocad.cpp
c:\objectarx2\inc\rxmfcapi.h(64) : error c2143: syntax error : missing ';' before '*'
c:\objectarx2\inc\rxmfcapi.h(64) : error c2501: 'cwinapp' : missing storage-class or type specifiers
c:\objectarx2\inc\rxmfcapi.h(64) : error c2501: 'acedgetacadwinapp' : missing storage-class or type specifiers
c:\objectarx2\inc\rxmfcapi.h(70) : error c2143: syntax error : missing ';' before '*'
c:\objectarx2\inc\rxmfcapi.h(70) : error c2501: 'cdocument' : missing storage-class or type specifiers
c:\objectarx2\inc\rxmfcapi.h(70) : error c2501: 'acedgetacaddoc' : missing storage-class or type specifiers
c:\objectarx2\inc\rxmfcapi.h(76) : error c2143: syntax error : missing ';' before '*'
c:\objectarx2\inc\rxmfcapi.h(76) : error c2501: 'cview' : missing storage-class or type specifiers
c:\objectarx2\inc\rxmfcapi.h(76) : error c2501: 'acedgetacaddwgview' : missing storage-class or type specifiers
c:\objectarx2\inc\rxmfcapi.h(81) : error c2143: syntax error : missing ';' before '*'
c:\objectarx2\inc\rxmfcapi.h(81) : error c2501: 'cmdiframewnd' : missing storage-class or type specifiers
c:\objectarx2\inc\rxmfcapi.h(81) : error c2501: 'acedgetacadframe' : missing storage-class or type specifiers
c:\objectarx2\inc\rxmfcapi.h(86) : error c2143: syntax error : missing ';' before '*'
c:\objectarx2\inc\rxmfcapi.h(86) : error c2501: 'cwnd' : missing storage-class or type specifiers
c:\objectarx2\inc\rxmfcapi.h(86) : error c2501: 'acedgetacaddockcmdline' : missing storage-class or type specifiers
c:\objectarx2\inc\rxmfcapi.h(91) : error c2143: syntax error : missing ';' before '*'
c:\objectarx2\inc\rxmfcapi.h(91) : error c2501: 'cwnd' : missing storage-class or type specifiers
c:\objectarx2\inc\rxmfcapi.h(91) : error c2086: 'cwnd' : redefinition
c:\objectarx2\inc\rxmfcapi.h(91) : error c2501: 'acedgetacadtextcmdline' : missing storage-class or type specifiers
c:\objectarx2\inc\rxmfcapi.h(110) : error c2143: syntax error : missing ',' before '&'
c:\objectarx2\inc\rxmfcapi.h(110) : error c2059: syntax error : '&'
c:\objectarx2\inc\rxmfcapi.h(116) : error c2061: syntax error : identifier 'cpoint'
c:\objectarx2\inc\rxmfcapi.h(116) : error c2556: 'int __cdecl acedcoordfrompixeltoworld(int)' : overloaded function differs only by return type from 'void __cdecl acedcoordfrompixeltoworld(const int)'
c:\objectarx2\inc\rxmfcapi.h(110) : see declaration of 'acedcoordfrompixeltoworld'
c:\objectarx2\inc\rxmfcapi.h(116) : error c2371: 'acedcoordfrompixeltoworld' : redefinition; different basic types
c:\objectarx2\inc\rxmfcapi.h(110) : see declaration of 'acedcoordfrompixeltoworld'
c:\objectarx2\inc\rxmfcapi.h(122) : error c2061: syntax error : identifier 'cpoint'
c:\objectarx2\inc\rxmfcapi.h(250) : error c2061: syntax error : identifier 'cview'
c:\objectarx2\inc\rxmfcapi.h(257) : error c2143: syntax error : missing ';' before '&'
c:\objectarx2\inc\rxmfcapi.h(257) : error c2734: 'cstring' : const object must be initialized if not extern
******************************************我深爱的人.不能帮我编程!


所有的时间均为北京时间。 现在的时间是 05:49 PM.