urgent: how to register a DLL in windows 10

urgent: how to register a DLL in windows 10

liminma8458
Collaborator Collaborator
878 Views
3 Replies
Message 1 of 4

urgent: how to register a DLL in windows 10

liminma8458
Collaborator
Collaborator

Hi,

I have add in for Inventor 2019 pro. It is compiled under net.framework 4.5. It registers fine and work in windows 7 and Inventor 2019. It is compiled under net.framework 4.5. Now I switch to windows 10. it does not register. I am using a bat file :

@ ECHO OFF
C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe /codebase "C:\Program Files\Autodesk\Macros\UI_Ribbon_Demo.dll"
PAUSE

How to make the registry work in windows 10.

Thank you very much!

Thanks
Limin
Inventor pro 2023 64 bit update 5.3; Windows 11 pro 64 bit version 24H2; Office 2013 64 bit

Download iCable in App Store to Create Cables Easily

0 Likes
Accepted solutions (1)
879 Views
3 Replies
Replies (3)
Message 2 of 4

JamieVJohnson2
Collaborator
Collaborator

Isn't Inventor 2019 based on .Net 4.7?

Jamie Johnson : Owner / Sisu Lissom, LLC https://sisulissom.com/
0 Likes
Message 3 of 4

liminma8458
Collaborator
Collaborator
Accepted solution

I compile that using 4.5 framework in VB.net. it works fine, although Inventor 2019 uses net framework 4.7. I find the solution: just right click the bat file, "run as administrator".  It is said this is extra security from windows 10

Thanks
Limin
Inventor pro 2023 64 bit update 5.3; Windows 11 pro 64 bit version 24H2; Office 2013 64 bit

Download iCable in App Store to Create Cables Easily

0 Likes
Message 4 of 4

JamieVJohnson2
Collaborator
Collaborator

I thought the Windows 10 UAC was pretty much the same as Windows 7 UAC.  I guess it's more aggressive.

Jamie Johnson : Owner / Sisu Lissom, LLC https://sisulissom.com/
0 Likes