瀏覽代碼

* fix for compilation breakage due to windows header fix. (reported by Reinier on ML)

git-svn-id: trunk@28241 -
marco 11 年之前
父節點
當前提交
2fdb701f9a
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      packages/fcl-process/src/win/process.inc

+ 3 - 3
packages/fcl-process/src/win/process.inc

@@ -116,7 +116,7 @@ begin
   TA.nLength := SizeOf(TA);
   TA.nLength := SizeOf(TA);
 end;
 end;
 
 
-Procedure InitStartupInfo(P : TProcess; Var SI : STARTUPINFO);
+Procedure InitStartupInfo(P : TProcess; Var SI : STARTUPINFOA);
 
 
 Const
 Const
   SWC : Array [TShowWindowOptions] of Cardinal =
   SWC : Array [TShowWindowOptions] of Cardinal =
@@ -179,7 +179,7 @@ begin
 end;
 end;
 
 
 
 
-Procedure CreatePipes(Var HI,HO,HE : Thandle; Var SI : TStartupInfo; CE : Boolean; APipeBufferSize : Cardinal);
+Procedure CreatePipes(Var HI,HO,HE : Thandle; Var SI : TStartupInfoA; CE : Boolean; APipeBufferSize : Cardinal);
 
 
 begin
 begin
   CreatePipeHandles(SI.hStdInput,HI, APipeBufferSize);
   CreatePipeHandles(SI.hStdInput,HI, APipeBufferSize);
@@ -224,7 +224,7 @@ Var
   FProcessAttributes : TSecurityAttributes;
   FProcessAttributes : TSecurityAttributes;
   FThreadAttributes : TSecurityAttributes;
   FThreadAttributes : TSecurityAttributes;
   FProcessInformation : TProcessInformation;
   FProcessInformation : TProcessInformation;
-  FStartupInfo : STARTUPINFO;
+  FStartupInfo : STARTUPINFOA;
   HI,HO,HE : THandle;
   HI,HO,HE : THandle;
   Cmd : String;
   Cmd : String;