source: Generics/NativeGenerics/Demo/Demo.lpr

Last change on this file was 496, checked in by chronos, 6 years ago
  • Modified: New native generics classes working under FPC 3.0 transformed from TemplateGenerics package.
File size: 549 bytes
Line 
1program Demo;
2
3{$mode objfpc}{$H+}
4
5uses
6 {$IFDEF UNIX}{$IFDEF UseCThreads}
7 cthreads,
8 {$ENDIF}{$ENDIF}
9 Interfaces, // this includes the LCL widgetset
10 Forms, SysUtils, UMainForm;
11
12{$R *.res}
13
14{$IFDEF DEBUG}
15const
16 HeapTraceLogFileName = 'heaptrclog.trc';
17 {$ENDIF}
18begin
19 {$IFDEF DEBUG}
20 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLogFileName);
21 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLogFileName);
22 {$ENDIF}
23 Application.Initialize;
24 Application.CreateForm(TMainForm, MainForm);
25 Application.Run;
26end.
27
Note: See TracBrowser for help on using the repository browser.