Frank Warmerdam wrote: > Ahh heap corruption, the C/C++ programmers eternal pain. That was it, thanks. Just shows how far I've succeeded with learning C++... But I'm getting there - eventually! ;)