Yeah, I'm getting some new errors with range checking and overflow checking enabled, so I'll have to figure out what's causing them.

As to generating a stack backtrace... how do I do this? After some googling I can see that Free Pascal has the two units 'lineinfo' and 'heaptrc' which help with localizing runtime errors in the source code. Does BP7.0 have anything similar? I'm not that experienced with programming and memory addressing, so the memory addresses given with a runtime error is pretty much gibberish to me... and sadly BP7.0 doesn't pinpoint the place of an error in your code in Protected Mode like it does in Real Mode.