Thanks Guys.
There's totally some bad code in sdlutils, I wrote some of it LOL.

Yes it's Windows. The Mac is lovely, but all of my dev work is on Windows these days.

Unfortunately, My CBCFoundation engine uses it extensively (for better or for worse).

I'll download the 32bit version of Lazarus to see if that helps.

I should probably dump the CBCFoundation anyway in favour of an OpenGL based one - I'm too old to be writing Engines these days.

Thanks again.