查看单个帖子
旧 2009-05-07, 06:06 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】using Odx3 With Delphi5

using odx3 with delphi5
using odx3 with delphi5
i am trying to use odx3 with delphi5.
i am able to create todahostapp and tacadapplication-objects and to open a document and write it as dxf r12 file. the code looks as follows:
odahost := todahostapp.create(form1);
acadapplication1 := tacadapplication.create(odahost);
acadapplication1.documents.open(quell,true);
odahost.auditdatabase(
acadapplication1.documents.item(0),false); acadapplication1.documents.item(0).saveas(ziel,odr 12_dxf);
acadapplication1.free;
odahost.free;
all is ok until i insert the line:
odahost.auditdatabase(....
when this statement is executed an external exception "e06d7363" is fired.
can anyone give me an advise how to do? has anyone example-applications for delphi?
thanks in advance
gtr mbh
hans bauer
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)