source: trunk/OpenTaskManager.lpr

Last change on this file was 1, checked in by chronos, 6 years ago
  • Initial import.
File size: 655 bytes
Line 
1program OpenTaskManager;
2
3{$mode objfpc}{$H+}
4
5uses
6 {$IFDEF UNIX}{$IFDEF UseCThreads}
7 cthreads,
8 {$ENDIF}{$ENDIF}
9 Interfaces, SysUtils, // this includes the LCL widgetset
10 Forms, UFormMain
11 { you can add units after this };
12
13{$R *.res}
14
15{$IFDEF DEBUG}
16const
17 HeapTraceLog = 'heaptrclog.trc';
18{$ENDIF}
19
20begin
21 {$IFDEF DEBUG}
22 // Heap trace
23 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
24 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
25 {$ENDIF}
26
27 Application.Scaled := True;
28 RequireDerivedFormResource := True;
29 Application.Initialize;
30 Application.CreateForm(TFormMain, FormMain);
31 Application.Run;
32end.
33
Note: See TracBrowser for help on using the repository browser.