On 17 August 2011 19:13, Jonas Maebe wrote: > > assign(stderr,'somefile'); > rewrite(stderr);
I think you might be able to use the heaptrc environment variable for that as well. Not 100% sure if it will work in the case of a web app, but I can't see why not. See the heaptrc unit documentation for the name of the environment variable - I can't remember it off the top of my head. -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal