Hi,
Thanks Michael for the update.
>> The default is just that, the default. If you specify a filename, then that
>> is
>>used.
Yes, that's right.
Thanks also jeff for the advise on Windows platform.
Regards,
Frphoebus
___
fpc-pascal maill
On Tue, Sep 21, 2010 at 9:39 AM, Michael Van Canneyt 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
On Tue, 21 Sep 2010, phoebus phoebus wrote:
Hi,
I'm using FPC 2.2.4 with Lazarus.
The unit eventlog is great for logging events. SO i use it.
My question is how to change the default location for the filename for Linxu
ssytem which is harcoded in the code.
The documentation for TEventLog
Hi,
I'm using FPC 2.2.4 with Lazarus.
The unit eventlog is great for logging events. SO i use it.
My question is how to change the default location for the filename for Linxu
ssytem which is harcoded in the code.
The documentation for TEventLog.FileName wrote:
" FileName is the name of the log