any way to prevent this?

BlitzPlus Forums/BlitzPlus Programming/any way to prevent this?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I've never used OpenGL with Blitz (I wonder how many people have), but I do remember always getting a crash on exit when calling a certain function in msvcrt.dll. Maybe the problem is related for some reason.

At any rate, to avoid the crash, all I had to do was make sure that the program terminates with the End command. It's just a guess, but maybe it will work in your case too.