Sample C++ addin (SimpleAddinCpp) will not successfully register ... and an older addin will not load (Inventor 2022)

PeteRimkus
Participant
Participant

Sample C++ addin (SimpleAddinCpp) will not successfully register ... and an older addin will not load (Inventor 2022)

PeteRimkus
Participant
Participant

Hello,

 

We have found that an addin that we developed years ago is failing to be listed in the Tools/Addins dialog of Inventor 2022. It was loading fine in I2021.

 

I'm guessing something changed somewhere in I2022, so I went and built the SimpleAddin sample under C:\Users\Public\Documents\Autodesk\Inventor 2022\SDK\DeveloperTools\Samples\VC++ .

 

That builds successfully, but I cannot register it using Regsvr32 with Admin privileges. I get an error "The module "blah blah blah.dll" was loaded but the call to DllRegisterServer failed with error code 0x80070715."

 

It too, therefore, never shows up in the Tools/Addins dialog either.

 

Thoughts? Hints?

 

Thanks in advance

Pete

0 Likes
Reply
Accepted solutions (1)
527 Views
4 Replies
Replies (4)

JelteDeJong
Mentor
Mentor

In inventor 2022 some things have been changed for "Registry-based Add-ins". You might want to have a look at this post: "Retire Registry-based Add-ins in Inventor 2022"

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com

0 Likes

PeteRimkus
Participant
Participant

I think that might be exactly what I need. Thanks! I will try that today (if time allows) and report back.

Thanks again.

Pete

0 Likes

PeteRimkus
Participant
Participant

Thanks again ... almost there!

Making the changes described in the docs you pointed out does get my Addin to successfully show up in the Addins dialog:

 

PeteRimkus_0-1632495762932.png

 

... but it is not available in the "Add-Ins" ribbon like my old registry-based one was...

 

PeteRimkus_1-1632496089484.png

 

Has something else changed?

 

Thanks in advance

Pete

0 Likes

PeteRimkus
Participant
Participant
Accepted solution

It looks like a reboot cleared it up ... it's now appearing in the Addins ribbon.

Thanks.

0 Likes