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


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


 
 
主题工具 搜索本主题 显示模式
旧 2009-05-07, 12:27 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】readfile failure

readfile failure
readfile failure
hi,
while reading a customer provided dxf file using vc8mdd dwgdirect
libraries (version 1.11), readfile method is failing in my custom
application. when the same dxf file is read using vc6md libraries there
was no error. i tried to open the dxf file using odamdi app dwgdirect
version 1.08. i could open the file without any issues. even by using
odamfc app (dwgdirect version 1.11) it didnt report any problem. can
anyone of you please help me in resolving this issue.
thanks,
aparna
the file would be helpful.
the difference between vc8mdd and vc6md may be not in compiler version but debug/release configuration.
in debug libraries assertion may terminate console application (and it shows message box in mfc application).
sergey slezkin
hi sergey,
thanks for the response. i meant to say that readfile method of exhostappservices is failing when using vc8md dwg direct libraries . not getting any clue to resolve this issue. if its a debug/ release configuration problem then it should have worked atleast with respective configuration na??
i wanted to ask for a sample file but it would not help if odamfcapp opens it ok.
most probably some module is missing in your application.
what kind of failure do you have? if it's oderror exception what does oddberror::description() return?
btw, odamfcapp you tried is built with vc6 or vc8?
sergey slezkin
re:
hi sergey,
no idea with what version (v6 or vc8) it has been built. but it uses dwgdirect libraries 1.08 version. the error it raised was "load entity %s on address %x error". dont know why this error was raised only with vc8md libraries??
exe\release and exe\debug folders are for vc6.
stuff buit with vc8 is in exe\vc8\debug and exe\vc8\release folders.
i can help if it's possible to reproduce the problem in one of our samples.
btw, 1.08 was released in 2003....
sergey slezkin
hi sergey,
yeah with the sample application for reading the file i.e
dwgdirect\projectfiles\win32\msvc2003\examples\odr eadex.vcproj file
the same error as reported above occurs. this project is linked to vc8md ddlibraries
last edited by aparna; 2nd april 2007 at 11:04 pmfff">.
if so i need the file.
sergey slezkin
re:
hi sergey,
iam posting the dataset that is causing the problem while reading the file.
please let me know about your comments.
thanks,
aparna
attached files (540.5 kb, 7 views)

last edited by aparna; 18th july 2007 at 04:22 amfff">.
current dd version (2.4.1) and autocad do not see problems in your file.
1.08 was released 4 years ago..
also readex sample from ...\msvc2003\... can't be linked with vc8md libraries. vc8 is msvc2005.
sergey slezkin
hi sergey,
iam getting "load entity %s on address %x error " when reading this dxf file.
as of now its not possible for me to update my application with respect to
current dwgdirect c++library version. so i need your suggestions to resolve this issue asap. the dwgdirect library version that iam using is 1.11 which
was built with vs2005.
thanks in adv
aparna
hi,
many defects were fixed since 1.11. upgrade to 2.4 will be very useful for you.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
 


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

高级搜索
显示模式

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

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

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】failure to import many dwf files yang686526 DirectDWG 0 2009-05-05 10:47 AM
【转帖】debug assert failure yang686526 DirectDWG 0 2009-05-04 07:11 PM
【转帖】assertion failure yang686526 DirectDWG 0 2009-05-04 04:18 PM
【转帖】assertion failure while saving to dwg file yang686526 DirectDWG 0 2009-05-04 04:18 PM


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


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