mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 00:50:28 +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
|
||||
CheckIdentification;
|
||||
FLogHandle := Pointer(OpenEventLog(Nil,Pchar(Identification)));
|
||||
FLogHandle := Pointer(OpenEventLogA(Nil,Pchar(Identification)));
|
||||
If (FLogHandle=Nil) and FRaiseExceptionOnError then
|
||||
Raise ELogError.CreateFmt(SErrNoSysLog,[GetLastError]);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user