source: branches/Transpascal/Transpascal.lpr@ 69

Last change on this file since 69 was 66, checked in by george, 15 years ago
  • Added: Storing application setting in system registry.
  • Added: Loading project files.
  • Added: Remembering last opened files.
File size: 955 bytes
Line 
1program Transpascal;
2
3{$MODE Delphi}
4
5uses
6 {$IFDEF UNIX}{$IFDEF UseCThreads}
7 cthreads,
8 {$ENDIF}{$ENDIF}
9 Forms, CoolDocking, Interfaces, SysUtils,
10 UMainForm in 'UMainForm.pas' {MainForm},
11 UTextSource in 'UTextSource.pas', UProject, UApplicationInfo, URegistry,
12 ULastOpenedList, TranspascalCompiler, UProjectManager, UCodeForm,
13 UMessagesForm, UCompiledForm, UCodeTreeForm;
14
15{$R *.res}
16
17begin
18 // Heap trace
19 DeleteFile(ExtractFilePath(ParamStr(0)) + 'heaptrclog.trc');
20 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + 'heaptrclog.trc');
21
22 Application.Initialize;
23 Application.CreateForm(TMainForm, MainForm);
24 Application.CreateForm(TProjectManager, ProjectManager);
25 Application.CreateForm(TCodeForm, CodeForm);
26 Application.CreateForm(TMessagesForm, MessagesForm);
27 Application.CreateForm(TCompiledForm, CompiledForm);
28 Application.CreateForm(TCodeTreeForm, CodeTreeForm);
29 Application.Run;
30end.
Note: See TracBrowser for help on using the repository browser.