Hi there,
I've made a lot of ilogic rules which use dlls to look up text files for ratio values. The dlls all work fine and are stored in "C:\Program Files\Autodesk\Inventor 2012\Bin\iLogicAdd".
To add the dll I use the following method:
AddReference "Core_xxxx.dll"
Dim dll as New Core_xxxx.Core_xxxx_Class
If, however, someone opens the file on a computer which does not have the dlls they get an error message saying
" Error on Line 0 : could not find library 'Core_xxxxxxx.dll'
Error on Line 0 : compiler initialization failed unexpectedly: 0x80070002 "
Is there any way I can catch or silence this error? I would like to be able to open the model on computers which do not contain the dlls without the error message apprearing.
thanks,
John
Questions like this are better asked on the Inventor Customization forum. That is where all the developer types hang around.
Reference to that thread, without a solution:
https://forums.autodesk.com/t5/inventor-customization/ilogic-dll-error-message/td-p/4404435
I'm looking for the same thing. We have an iLogic which uses webservice dll's, but on pc's without that dll I want the code to run as well.
Sadly I cannot seem to escape the declaration.
Can't find what you're looking for? Ask the community or share your knowledge.