On Tue, Sep 21, 2010 at 9:39 AM, Michael Van Canneyt <mich...@freepascal.org > wrote:
> begin >> Result:=ChangeFileExt(Paramstr(0),'.log'); >> end; >> > Function TEventLog.DefaultFileName : String; > On Windows, this can be problematic. Win7 for sure, usually Vista, and any version of Windows that has had its security tightened won't let you write files into the application folder. Jeff.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal