mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 21:18:15 +02:00
chmmaker: using TProcessUTF8
git-svn-id: trunk@50601 -
This commit is contained in:
parent
2af1f6a5f4
commit
86f68f351f
@ -7,7 +7,7 @@ interface
|
|||||||
uses
|
uses
|
||||||
Classes, SysUtils, types, chmsitemap, chmfilewriter,
|
Classes, SysUtils, types, chmsitemap, chmfilewriter,
|
||||||
Forms, Controls, Graphics, Dialogs, StdCtrls, ComCtrls, Menus, ExtCtrls, EditBtn,
|
Forms, Controls, Graphics, Dialogs, StdCtrls, ComCtrls, Menus, ExtCtrls, EditBtn,
|
||||||
LazFileUtils;
|
LazFileUtils, UTF8Process;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
@ -245,7 +245,7 @@ procedure TCHMForm.CompileViewBtnClick(Sender: TObject);
|
|||||||
var
|
var
|
||||||
LHelpName: String;
|
LHelpName: String;
|
||||||
LHelpConn: TLHelpConnection;
|
LHelpConn: TLHelpConnection;
|
||||||
Proc: TProcess;
|
Proc: TProcessUTF8;
|
||||||
ext: String;
|
ext: String;
|
||||||
begin
|
begin
|
||||||
if ChmFileNameEdit.FileName = '' then
|
if ChmFileNameEdit.FileName = '' then
|
||||||
@ -267,7 +267,7 @@ begin
|
|||||||
MessageDlg('lazbuild coul not be found.', mtError, [mbCancel], 0);
|
MessageDlg('lazbuild coul not be found.', mtError, [mbCancel], 0);
|
||||||
Exit;
|
Exit;
|
||||||
end;
|
end;
|
||||||
Proc := TProcess.Create(Self);
|
Proc := TProcessUTF8.Create(Self);
|
||||||
Proc.CommandLine := '../../../lazbuild ./lhelp.lpi';
|
Proc.CommandLine := '../../../lazbuild ./lhelp.lpi';
|
||||||
SetCurrentDir('../../components/chmhelp/lhelp/');
|
SetCurrentDir('../../components/chmhelp/lhelp/');
|
||||||
Proc.Options := [poWaitOnExit];
|
Proc.Options := [poWaitOnExit];
|
||||||
|
Loading…
Reference in New Issue
Block a user