mrbm
mrbm

Reputation: 1171

C# opengl texture

I want to use textures in opengl on my C# application. I'm using the Tao Framework and I used this code

http://www.gamedev.net/community/for...opic_id=405453 (post #2)

But I got this runtime error:

An unhandled exception of type 'System.DllNotFoundException' occurred in WindowsFormsApplication1.exe

Additional information: Unable to load DLL 'DevIL.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Could someone help me?

Is there any other way to do this?

Upvotes: 0

Views: 1760

Answers (3)

smm
smm

Reputation: 26

I had this problem with GLU.FreeGLUT.dll but when I installed Tao Framework solved my problem . before that i copy dll to win32 and there was in dotnet Directory and add to references in project but I recieved this message : "An unhandled exception of type 'System.DllNotFoundException' "

Upvotes: 1

Goz
Goz

Reputation: 62323

It suggests you are missing DevIL. Try getting it and installing it before proceeding.

Upvotes: 0

Gimly
Gimly

Reputation: 6175

It looks like the problem is the loading of the dll. You should make sure the dll is properly importer in your project through the references. Also make sure that you haven't moved or deleted the dll after you have added it to your project.

Upvotes: 0

Related Questions