- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Using the SimpleAddIn project/solution in the C++ samples for Inventor 2013 I've created SimpleAddIn.dll. I left all alone except for
- include paths, I added ones to InventorUtils.h and RxInventor.tlb
- Added _WIN32_WINNT=0x0501 to the start of the preprocessor defines in the project properties.
The SimpleAddIn.Dll was created with no errors.
I added the .AddIn file in the appropriate place and copied the SimpleAddIn.Dll to the Bin directory of Inventor 2013.
In the add in manager I can see SimpleAddIn but it does not seem to load. If I double click it appears to load, but when I go exit the manager and go back it is unloaded again. The command "Draw Slot" does not appear in the Sketch ribbon.
However if I download from github a C# version of the same command I can load it and "Draw Slot" appears and works.
Where can I start looking for errors? Is there a log file of addin loads which might help me?
As I said I left it to compile as is, 32 bit, I'm running Windows 7 64 bit. Could that be the problem?
Solved! Go to Solution.