Message 1 of 17
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I used TlbImp.exe to generate AcETransmit20.Interop.dll from AcETransmit20.tlb using:
"C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\TlbImp.exe" "C:\Autodesk_ObjectARX_2019_Win_64_and_32_Bit\inc-x64\AcETransmit20.tlb" /out:AcETransmit20.Interop.dll /namespace:AcETransmit /machine:x64 /verbose
I added AcETransmit20.Interop.dll to my (.Net 4.8) solution. When I run my project I get this error:
System.Runtime.InteropServices.COMException: 'Retrieving the COM class factory for component with CLSID {A994CA23-17EB-4C43-8345-EDEE893F2186} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).'
So I try to register using Regsvr32, but I get the error
The module ".....\AcETransmit20.Interop.dll" was loaded but the entry-point DllRegisterServer was not found.
Make sure that ".....\AcETransmit20.Interop.dll" is a valid DLL or OCX file and then try again.
Any suggestions? I also tried RegAsm but that didnt help either.
Solved! Go to Solution.