source: tags/1.3.0/LazFuck.lpr

Last change on this file was 165, checked in by chronos, 3 months ago

Merged revision(s) 164 from trunk:

  • Fixed: Put compiled files into application data directory if source is in read only directory.
File size: 828 bytes
Line 
1program LazFuck;
2
3uses
4 {$IFDEF UNIX}//{$IFDEF UseCThreads}
5 cthreads, clocale,
6 //{$ENDIF}
7 {$ENDIF}
8 Interfaces, // this includes the LCL widgetset
9 Forms, Target, FormCPU, FormMain, FormOutput, FormInput, FormMemory,
10 FormMessages, FormSourceCode, FormTargetCode, FormConsole, Core, Common,
11 SysUtils, BFCodeTools, TargetRust, FormHelp, FormKeyShortcuts;
12
13{$R *.res}
14
15{$if declared(UseHeapTrace)}
16const
17 HeapTraceLog = 'heaptrclog.trc';
18{$ENDIF}
19
20
21begin
22 {$if declared(UseHeapTrace)}
23 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
24 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
25 {$ENDIF}
26
27 Application.Scaled:=True;
28 Application.Title:='LazFuck';
29 RequireDerivedFormResource := True;
30 Application.Initialize;
31 Application.CreateForm(TCore, Core.Core);
32 Application.Run;
33end.
34
Note: See TracBrowser for help on using the repository browser.