source: tags/1.3.0/vCardStudio.lpr

Last change on this file was 110, checked in by chronos, 2 years ago
  • Modified: Edit name details in separate window.
File size: 740 bytes
Line 
1program vCardStudio;
2
3{$mode objfpc}{$H+}
4
5uses
6 {$IFDEF UNIX}
7 cthreads, clocale,
8 {$ENDIF}
9 Interfaces, // this includes the LCL widgetset
10 Forms, UFormMain, UCore, Common, SysUtils, UFormImage, UContactImage,
11UFormNameDetails;
12
13{$R *.res}
14
15{$if declared(UseHeapTrace)}
16const
17 HeapTraceLog = 'heaptrclog.trc';
18{$ENDIF}
19
20begin
21 Application.Scaled:=True;
22 Application.Title:='vCard Studio';
23 {$if declared(UseHeapTrace)}
24 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
25 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
26 {$ENDIF}
27 RequireDerivedFormResource:=True;
28 Application.Initialize;
29 Application.CreateForm(TFormMain, FormMain);
30 Application.CreateForm(TCore, Core);
31 Application.Run;
32end.
33
Note: See TracBrowser for help on using the repository browser.