查看单个帖子
旧 2009-04-16, 12:43 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】[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
******************************************我深爱的人.不能帮我编程!
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)