PDA

View Full Version : glutInitWithExit exception



etrek99
04-29-2004, 04:23 PM
I am trying to use Toa the new version of CSGL for C#.NET 2003. I am getting the following exception:
Unable to find an entry point named __glutInitWithExit in DLL glut32.dll.
__glutCreateWindowWithExit in DLL glut32.dll

I've read about this problems with VC++, where developers suggest linking glut32.lib to the project properties, but C# is different.

If anyone has experience with Glut/Tao and .NET, can you tell me how to get around this problem.

Thanks

chowe6685
04-29-2004, 05:30 PM
#define GLUT_DISABLE_ATEXIT_HACK