memory access violations

Blitz3D Forums/Blitz3D Programming/memory access violations

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.

"memory access violations".
I see this a lot. But never windowed.
If running full screen you can guarantee that it will happen 50% of the time when I first run my program.
I've put error reporting in every few lines, and Blitz appears to correctly create the window, and can e.g. report it's width.
But the next graphics call, even a Line call, will cause the error.
So much so, that I've had to hack into the runtime dll and replace the words "memory access violations" with "Problem, please restart the program" (which always works fine) - else what normal user is gonna know what m.a.v. means!