Click to See Complete Forum and Search --> : opengl and managed code


hbeaver
February 12th, 2003, 03:08 AM
I want to use some of the .net classes in a program that uses opengl. But if I enable managed code (#using <mscorlib.dll> and /clr) I get an error regarding an opengl object. The exact error is a runtime error and is:

----------
An unhandled exception of type 'System.TypeLoadException' occurred in Go.exe

Additional information: Could not load type GLUquadric from assembly Go, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.
----------

The program runs fine if I do not use the /clr option. I am new to the whole .net thing so maybe I am doing something wrong.


Chris