Skip to main content
gamedev.net
🔒 Locked

System.TypeLoadException

Started by Wicked Ewok Mar 13, 2005 at 6:08 PM 0 replies 400+ views
Original Post
Wicked Ewok
Wicked Ewok
Hi, I'm having real trouble with compiling a demo using GLUNurbsObj. I'm using Visual.net and everytime I hit a part of the code that uses a GLUNurbsObj *(pointer), the system throws an exception: System.TypeLoadException for the type GLUNurbsObj(or GLUNurbs, neither one works). Does anyone know what the cause of this is? Thanks. -Marv
-=~''^''~=-.,Wicked,.-=~''^''~=-
Wicked Ewok
Wicked Ewok
Ok, lovely chat room. Thanks Tanktore!

Link to explaination:

http://blog.mladbury.com/2004/03/31/net-and-opengl-systemtypeloadexception/

and an added note for GLUnurbsObj,
if you’re using GLUnurbsObj, you have to realize that it’s actually a typedef of GLUnurbs. So instead of doing class GLUnurbsObj{}; before everything, do class GLUnurbs {};

-Marv
-=~''^''~=-.,Wicked,.-=~''^''~=-

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.