On 27 Aug 2011, at 00:18, Andrew Haines wrote: > Ok so freemem is okay as long as I am careful about the members of the > object.
There may be other problems I'm not thinking of right now. I don't understand why you want to use freemem for objects, since the only difference with dispose is that it will result in crashes or memory corruption under certain circumstances. Jonas_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal