几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】using Odx3 With Delphi5 (http://www.dimcax.com/hust/showthread.php?t=18954)

yang686526 2009-05-07 06:06 PM

【转帖】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


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