Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

AutoCad 2007 and Delphi 2007

21 views
Skip to first unread message

Tulio

unread,
Oct 9, 2008, 6:36:52 PM10/9/08
to
I'm having some problems using Delphi 2007 with Autocad2007

My software used to connect to AutoCad2002 using the following code

cad2002 := AutoCAD2002_TLB.TOAcadApplication.Create(self);

(cad2002 as TOAcadApplication).Visible := true; //open autocad.
(cad2002 as
TOAcadApplication).Application.Set_WindowState(acMax);

sFile := ExtractFileDir(Application.ExeName) + '\AC2002.dwg';
(cad2002 as TOAcadApplication).Connect;

currDwg := (cad2002 as
TOAcadApplication).Documents.Open(sfile,true);


But now, it seems that the library Autocad_TLB for Autocad2007 doesn't
have the TAcadApplication, or an OleServer.

So do you have any idea how can I do this for Autocad2007 ?


Thanks!

0 new messages