Message 1 of 3
Can a 64-Bit Add-in reference a 32-Bit dll ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I am witting a Add-in in VB.Net 2008.
I have attach a 32-bit ActiveX Dll that was written in VB6.
The project loads fine in Inventor 2009 32-bit & Inventor 2010 32-bit.
Although I am having trouble getting it to load in Inventor 2009 64-bit & Inventor 2010 64-bit.
I have written many 64-bit Add-ins before and have had no issues.
I am registering the 32-bit ActiveX Dll from VB6 with regsvr32 ABCD.dll
I am registering the Interop.ABCD.dll that vb.Net creates into the Global Assembly Cache
Finally I am registering the vb.Net Addin Dll with C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe /codebase ABCD.dll
All returned no errors
As I said before the project runs fine in Inventor 2009 32-bit & Inventor 2010 32-bit using
regsvr32 ABCD.dll
registering the Interop.ABCD.dll into the Global Assembly Cache
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe /codebase ABCD.dll
So I guess my question is.
Is it possible to create a 64-Bit Add-ins referencing 32-Bit dlls ?
If so where am I going wrong?
Thanks in Advance
Stuart.
I am witting a Add-in in VB.Net 2008.
I have attach a 32-bit ActiveX Dll that was written in VB6.
The project loads fine in Inventor 2009 32-bit & Inventor 2010 32-bit.
Although I am having trouble getting it to load in Inventor 2009 64-bit & Inventor 2010 64-bit.
I have written many 64-bit Add-ins before and have had no issues.
I am registering the 32-bit ActiveX Dll from VB6 with regsvr32 ABCD.dll
I am registering the Interop.ABCD.dll that vb.Net creates into the Global Assembly Cache
Finally I am registering the vb.Net Addin Dll with C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe /codebase ABCD.dll
All returned no errors
As I said before the project runs fine in Inventor 2009 32-bit & Inventor 2010 32-bit using
regsvr32 ABCD.dll
registering the Interop.ABCD.dll into the Global Assembly Cache
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe /codebase ABCD.dll
So I guess my question is.
Is it possible to create a 64-Bit Add-ins referencing 32-Bit dlls ?
If so where am I going wrong?
Thanks in Advance
Stuart.