Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ilogic dll Error Message

2 REPLIES 2
Reply
Message 1 of 3
johnster100
589 Views, 2 Replies

Ilogic dll Error Message

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

2 REPLIES 2
Message 2 of 3
mrattray
in reply to: johnster100

Questions like this are better asked on the Inventor Customization forum. That is where all the developer types hang around.

Mike (not Matt) Rattray

Message 3 of 3
Bram_Baars
in reply to: mrattray

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.

Post to forums  

Autodesk Design & Make Report