DLLs, callbacks, and the GC that loves them

BlitzMax Forums/BlitzMax Programming/DLLs, callbacks, and the GC that loves them

That GCMode 2 is needed is clear
you can not use automatic if your mess around with BMs memoryspace which you do with the callbacks.

Blitz is GC driven, but the GC does not care about stuff thats outside of its control. Neither controlflow nor memory wise.
Which means that whatever interacts with it either is fast and does not touch BMs realm or it will die.