Browse Source

* openeventlog -> openeventloga.

git-svn-id: trunk@24693 -
marco 12 năm trước cách đây
mục cha
commit
6e855a334d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/fcl-base/src/win/eventlog.inc

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

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