Unable to add AcETransmit library reference

Unable to add AcETransmit library reference

nmeek
Contributor Contributor
1,368 Views
1 Reply
Message 1 of 2

Unable to add AcETransmit library reference

nmeek
Contributor
Contributor

I have created a new AutoCAD plug-in project in Visual Studio Professional 2013 by using the template installed from the ObjectARXWizzards.msi.

When attempting to add a reference to the Transmittal Object Library, per To Reference the Transmittal Object Library, I get the following error:

 

A reference to 'C:\ObjectARX 2016\inc-x64\AcETransmit19.tlb' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.

 

(References to AcCoreMgd.dll and AcDbMdg.dll were added successfully from the C:\ObjectARX 2016\inc folder)

 

Any help would be greatly appreciated.

 

 

0 Likes
Accepted solutions (1)
1,369 Views
1 Reply
Reply (1)
Message 2 of 2

nmeek
Contributor
Contributor
Accepted solution

After much searching, I found the resolution on this AutoCAD DevBlog page: Resolving references when using tlbimp

 

By using tlbimp.exe (from the Windows SDK) I created an inter-op assembly from the AcETransmit19.tlb type library using the following:

 

 

tlbimp  "C:\ObjectARX 2016\inc-x64\AcETransmit19.tlb" /out:AcETransmit19.Interop.dll /namespace:AcETransmit /machine:x64

 

I was then able to add a reference to the assembly to my plug-in project.

 

tlbimp.PNG

0 Likes