-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathALTRun.dpr
48 lines (39 loc) · 1.35 KB
/
ALTRun.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
45
46
47
48
program ALTRun;
{$R 'Res\ALTRun.res' 'Res\ALTRun.rc'}
uses
CnMemProf,
Forms,
SysUtils,
pngimage,
frmALTRun in 'Form\frmALTRun.pas' {ALTRunForm},
frmConfig in 'Form\frmConfig.pas' {ConfigForm},
frmShortCut in 'Form\frmShortCut.pas' {ShortCutForm},
HotLog in '3rdUnit\HotLog\HotLog.pas',
untUtilities in 'Unit\untUtilities.pas',
untALTRunOption in 'Unit\untALTRunOption.pas',
frmShortCutMan in 'Form\frmShortCutMan.pas' {ShortCutManForm},
untShortCutMan in 'Unit\untShortCutMan.pas',
frmAbout in 'Form\frmAbout.pas' {AboutForm},
frmParam in 'Form\frmParam.pas' {ParamForm},
frmHelp in 'Form\frmHelp.pas' {HelpForm},
frmInvalid in 'Form\frmInvalid.pas' {InvalidForm},
frmLang in 'Form\frmLang.pas' {LangForm};
{$R *.res}
begin
//----- 内存泄漏管理
mmPopupMsgDlg := DEBUG_MODE;
mmShowObjectInfo := DEBUG_MODE;
mmUseObjectList := DEBUG_MODE;
mmSaveToLogFile := DEBUG_MODE;
//----- 主程序开始
Application.Initialize;
IsRunFirstTime := not FileExists(ExtractFilePath(Application.ExeName) + TITLE + '.ini');
LoadSettings;
Application.Title := TITLE;
Application.CreateForm(TALTRunForm, ALTRunForm);
Application.CreateForm(TParamForm, ParamForm);
Application.ShowMainForm := False;
Application.OnMinimize := ALTRunForm.evtMainMinimize;
Application.Run;
SaveSettings;
end.