Sign in to follow this  
zorlack

[.net] System.DllNotFoundException

Recommended Posts

zorlack    122
I am working on an opengl project using Tao Framaework's dll on delphi8 for .Net. When i try to run the aplication a system.dllnotfoundexception occurs that says "Unable to load DLL (ilu.dll)" when I use any of the Tao.DevIl clases. I don't know why this error occurcs cuase I copied that practicular dll on the folder of the proyect and on the system32 forlder. What can i do to fix this problem?

Share this post


Link to post
Share on other sites
zorlack    122
Thanks, I downloaded the native devil liberies. But now a I get a System.NullReferenceException with message "Object reference not set to an instance of an object". I have never come with this error, what should I do to fix it.

Share this post


Link to post
Share on other sites
capn_midnight    1707
Quote:
Original post by zorlack
Thanks, I downloaded the native devil liberies. But now a I get a System.NullReferenceException with message "Object reference not set to an instance of an object". I have never come with this error, what should I do to fix it.
this happens when you don't instantiate an object.

example:

MyClass me; //currently, set to null.
me.doSomething(); //bingo, NullReferenceException

/***remedy***/
MyClass me = new MyClass(); //constructed and ready to go
me.doSomething(); //No null reference!





[Edited by - capn_midnight on February 15, 2005 8:11:56 AM]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this