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


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » AutoCAD二次开发 » ObjectARX(C++)
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


回复
 
主题工具 搜索本主题 显示模式
旧 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自动化论坛(仅游客可见)
回复


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭



所有的时间均为北京时间。 现在的时间是 09:29 AM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多