Hello, I've implemented Delphi-style getmem and freemem procedures; that is, the freemem() call now just needs the pointer, the size is no longer required. This will only work if you use the -Sd or -S2 switches when compiling. (or, set the mode to objfpc or Delphi) Michael.