2
0
Эх сурвалжийг харах

* openeventlog -> openeventloga.

git-svn-id: trunk@24693 -
marco 12 жил өмнө
parent
commit
6e855a334d

+ 1 - 1
packages/fcl-base/src/win/eventlog.inc

@@ -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;