Delphi & 64 bits AutoCad

Delphi & 64 bits AutoCad

DaSteelman
Contributor Contributor
1,109 Views
1 Reply
Message 1 of 2

Delphi & 64 bits AutoCad

DaSteelman
Contributor
Contributor
Hello all,

Does anybody know how to connect to the AutoCad COM object running on a 64 bits Win7 computer? I am using Delphi 2006...
Are there thirt party components?

Any help is appreciated! Edited by: DaSteelman on Mar 3, 2010 11:46 AM
0 Likes
1,110 Views
1 Reply
Reply (1)
Message 2 of 2

Mario-Villada
Advocate
Advocate

Here are some basic steps:

 

1. Create new package project in delphi.

2. Go to Component / Import Component and select "Import a Type Library.

3. Click "Add"

4.Go to "C:\Program Files(x86)\Common Files\Autodesk Shared" and select : acax18enu.tlb

5. Select a pallet page you want to install it (usuallt ActiveX) and click next

6.Select "Add Unit to Package" and click finish. you will see a new AutoCAd_TLB unit created.

7. On the righ pane right click in package1.bpl and click on "install" and the OK

 

 you will se your new components in the Actve X pallet when crating new applications.

 

Dont forget to include "AutoCAd_TLB" in the uses clause for your units.

 

Regards,

 

Mario.

0 Likes