-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathMSpeech.dpr
44 lines (40 loc) · 1.83 KB
/
MSpeech.dpr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{ ############################################################################ }
{ # # }
{ # MSpeech v1.5.10 # }
{ # # }
{ # Copyright (с) 2012-2020, Mikhail Grigorev. All rights reserved. # }
{ # # }
{ # License: http://opensource.org/licenses/GPL-3.0 # }
{ # # }
{ # Contact: Mikhail Grigorev (email: [email protected]) # }
{ # # }
{ ############################################################################ }
program MSpeech;
uses
{$IFDEF DEBUG}
{$ENDIF }
Vcl.Forms,
OnlyOneRun in 'OnlyOneRun.pas',
Main in 'Main.pas' {MainForm},
Global in 'Global.pas',
Settings in 'Settings.pas' {SettingsForm},
Log in 'Log.pas' {LogForm},
ASR in 'ASR.pas';
{$R *.res}
begin
if not Init_Mutex(ProgramsName) then
begin
if (GetSysLang = 'Русский') or (GetSysLang = 'Russian') or (MatchStrings(GetSysLang, 'Русский*')) then
Application.MessageBox('Программа уже запущена.', 'Ошибка запуска', 0 or 48)
else
Application.MessageBox('The program is already running.', 'Error', 0 or 48);
Exit;
end;
Application.Initialize;
Application.MainFormOnTaskbar := True;
Application.Title := 'MSpeech';
Application.CreateForm(TMainForm, MainForm);
Application.CreateForm(TSettingsForm, SettingsForm);
Application.CreateForm(TLogForm, LogForm);
Application.Run;
end.