Has anyone had problems running their Add-In across versions of Inventor 2012?
Mine will work fine in most versions, but exceptions come up in others. I'm getting reports from people in France for example, or someone who's using a different service pack. I wasn't able to verify each individual case, but it seems like some versions or configurations are causing the Add-In to throw exceptions when making certain API function calls.
I normally compile with my own version of the API dlls. Should I include these dlls in the installer, or count on the Add-In to link to existing Inventor dlls? Currently I include my version of the dll's, but I've tried both ways.
Anything else I might be missing?
I have had no problems with multiple versions, but I have no clue if some compatibility problems could happen when crossing language pack versions.
what are the exception information? To detect what is wrong, we need to look at the error closely, because there are lots of errors existing during developming app. It may be caused by some parameters of functions are not settled well in some language version or configuration. The reason may be case-by-case. I think the error information will tell something, if you can catch that error.
I don't get a lot of information in the exception since I'm using C#. Throughout development I only ever got vague messages from exceptions. In this case, the message is "E_INVALIDARG". I believe other exceptions caught with different versions said "Incorrect parameter".
Should I distribute the dll's I used to build the add-in, or should I allow my add-in to link to the current version of Inventor? Could discrepancies between api dll versions cause these problems?