source: trunk/ZdechovNET.lpr

Last change on this file was 151, checked in by chronos, 3 months ago
File size: 777 bytes
Line 
1program ZdechovNET;
2
3{$mode delphi}{$H+}
4
5uses
6 {$IFDEF UNIX}
7 cthreads, clocale,
8 {$ENDIF}
9 Utils, SqlDatabase, SysUtils, Forms,
10 User, HTTPSessionMySQL, HTTPSessionFile, Printers,
11 Common, HTTPServer, HTTPServerTCP, HTTPServerCGI, TCPServer, Pool,
12 MemoryStreamEx, MIMEType, PageList, Interfaces, Core, WebApp;
13
14{$if declared(UseHeapTrace)}
15const
16 HeapTraceLog = 'heaptrclog.trc';
17{$ENDIF}
18
19begin
20 {$if declared(UseHeapTrace)}
21 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
22 //SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
23 {$ENDIF}
24
25 with Application do begin
26 Initialize;
27 Core.Core := TCore.Create(Application);
28 Core.Core.Run;
29 Run;
30 //Printer.RawMode := True; // Avoid printer finalization exception
31 end;
32end.
Note: See TracBrowser for help on using the repository browser.