> Hi folks, > > please check out this code (unit). Certainly there is something very > strange > going on in handling memory in freepascal. I'm using Free Pascal Compiler > version 1.9.4 [2004/05/30] for i386. > <snip code> You code is wrong, it also crashes with kylix.