* fix compilation after UnicodeString ExecuteProcess related changes

git-svn-id: trunk@33899 -
This commit is contained in:
Tomas Hajny 2016-06-03 23:57:51 +00:00
parent 3732ad18d1
commit 293d9be6b6

View File

@ -31,6 +31,8 @@ interface
{$define SYSUTILS_HAS_ANSISTR_FILEUTIL_IMPL}
{ OS has an ansistring/single byte environment variable API }
{$define SYSUTILS_HAS_ANSISTR_ENVVAR_IMPL}
{ OS has an ansistring/single byte API for executing other processes }
{$DEFINE EXECUTEPROCUNI}
{ Include platform independent interface part }
{$i sysutilh.inc}
@ -756,11 +758,11 @@ begin
SysTimerTick := L;
end;
function ExecuteProcess (const Path: AnsiString; const ComLine: AnsiString;Flags:TExecuteFlags=[]):
integer;
function ExecuteProcess (const Path: RawByteString;
const ComLine: RawByteString;Flags:TExecuteFlags=[]): integer;
var
E: EOSError;
CommandLine: ansistring;
CommandLine: RawByteString;
Args0, Args: DosCalls.PByteArray;
ObjNameBuf: PChar;
ArgSize: word;
@ -932,8 +934,8 @@ begin
end;
function ExecuteProcess (const Path: AnsiString;
const ComLine: array of AnsiString;Flags:TExecuteFlags=[]): integer;
function ExecuteProcess (const Path: RawByteString;
const ComLine: array of RawByteString;Flags:TExecuteFlags=[]): integer;
var
CommandLine: AnsiString;