On 29/10/2009, Marco van de Voort <mar...@stack.nl> wrote: > > > No, probably mixed sysutils and strings(?) use. pstring is defined in both > TP and Delphi. Once to short, once to ansistring
That that must be FPC that is getting confused. In Lazurus I when "Project > New > Free Pascal application". That's as basic as you can get. The uses clause only had Classes and SysUtils in it. No TCustomApplication descendant or nothing, just a plain begin.... end. in the project file with the code I posted before. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal