mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 02:26:20 +02:00
* openeventlog -> openeventloga.
git-svn-id: trunk@24693 -
This commit is contained in:
parent
c5401e381d
commit
6e855a334d
@ -32,7 +32,7 @@ Procedure TEventLog.ActivateSystemLog;
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
CheckIdentification;
|
CheckIdentification;
|
||||||
FLogHandle := Pointer(OpenEventLog(Nil,Pchar(Identification)));
|
FLogHandle := Pointer(OpenEventLogA(Nil,Pchar(Identification)));
|
||||||
If (FLogHandle=Nil) and FRaiseExceptionOnError then
|
If (FLogHandle=Nil) and FRaiseExceptionOnError then
|
||||||
Raise ELogError.CreateFmt(SErrNoSysLog,[GetLastError]);
|
Raise ELogError.CreateFmt(SErrNoSysLog,[GetLastError]);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user