瀏覽代碼

* openeventlog -> openeventloga.

git-svn-id: trunk@24693 -
marco 12 年之前
父節點
當前提交
6e855a334d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;