LazUtils: Make UTF8Process work on Windows with FPC trunk (r39517+). Issue #34048, patch from Pascal Riekenberg

git-svn-id: trunk@58663 -
This commit is contained in:
juha 2018-08-02 09:18:16 +00:00
parent e5954eac45
commit 416b61b5e3

View File

@ -537,10 +537,18 @@ end;
type
TProcessClassTemplate = class(TComponent)
private
{$if fpc_fullversion < 30101}
{%H-}FProcessOptions : TProcessOptions;
{%H-}FStartupOptions : TStartupOptions;
FProcessID : Integer;
{%H-}FTerminalProgram: String;
{$else}
{%H-}FOnRunCommandEvent: TOnRunCommandEvent;
{%H-}FProcessOptions : TProcessOptions;
FRunCommandSleepTime: Integer;
{%H-}FStartupOptions : TStartupOptions;
FProcessID : Integer;
{$ifend}
{%H-}FThreadID : Integer;
FProcessHandle : Thandle;
FThreadHandle : Thandle;