Local variable lifetime

BlitzMax Forums/BlitzMax Programming/Local variable lifetime

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.

Couldn't it be a problem when the GC deletes the already deleted object?

Having this around after the OnPaint causes issues on Windows.

Wich issues? It sounds very strange without more info. don't get me wrong, I believe you, it is just a matter of curiosity as I've never get this kind of things with BlitzMax. Is this variable pointing something 'outside' the blitzmax code (a pointer used from internally called C or C++ code)?