source: tags/1.4.0/AcronymDecoder.lpr

Last change on this file was 95, checked in by chronos, 8 years ago
  • Modified: Do not initialize all forms at startup to save some memory.
File size: 1011 bytes
Line 
1program AcronymDecoder;
2
3{$mode delphi}{$H+}
4
5uses
6 {$IFDEF UNIX}
7 cthreads, clocale,
8 {$ENDIF}
9 Interfaces, // this includes the LCL widgetset
10 Forms, UAcronym, Common, SysUtils, TemplateGenerics, UFormImport,
11 CoolTranslator, UFormCategorySelect, UFormMain, UFormAcronym, UFormSettings,
12 UFormCategories, UFormAcronyms, UFormImportSource, UFormImportSources,
13 UFormAbout, UFormImportFormat, UFormImportFormats, UFormImportPattern, UCore,
14 UFormExport
15 { you can add units after this };
16
17{$R *.res}
18
19{$IFDEF DEBUG}
20const
21 HeapTraceLog = 'heaptrclog.trc';
22{$ENDIF}
23
24
25begin
26 {$IFDEF DEBUG}
27 // Heap trace
28 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
29 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
30 {$ENDIF}
31
32 Application.Title := 'Acronym Decoder';
33 RequireDerivedFormResource := True;
34 Application.Initialize;
35 Application.CreateForm(TCore, Core);
36 Application.CreateForm(TFormMain, FormMain);
37 Application.Run;
38end.
39
Note: See TracBrowser for help on using the repository browser.