Porblem running irrlicht.net in winform

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
Mobeen
Posts: 37
Joined: Sat Mar 25, 2006 9:31 am
Location: Karachi, PAKISTAN

Porblem running irrlicht.net in winform

Post by Mobeen »

hi all
i m trying to run the hellow world example through winform i have changed the was it is given by implementing the Application.onidle handler to invoke the device render loop and scene manager rendering stuff. IT renders ok but on termintation i get an exception referring to the irrlicht.net dll saying that the object reference is not set...
What might be the problem. I m using irrlicht.net 1.2

do reply
thanks
mobeen
Proud to be a PAKISTANI
Mobeen
Posts: 37
Joined: Sat Mar 25, 2006 9:31 am
Location: Karachi, PAKISTAN

another finding

Post by Mobeen »

Hi guys,
I have found one more thing. When i try to run any of the cpp examples on my pc with nvidia geforce card, all of them run ok the output window shows proper shutdown. but when I run any of the c# samples using opengl driver, I get this in the output window.

Code: Select all

caught opengl shutdown exception
Strangely if i change my driver to dx9 or dx8 it works ok.

One more thing , when i m using winforms, I get the object reference not set exception and i believe its linked to the opengl shutdown. Has anyone encountered this before?
Proud to be a PAKISTANI
Locked