Line | |
---|
1 | program ZdechovNET;
|
---|
2 |
|
---|
3 | {$mode delphi}{$H+}
|
---|
4 |
|
---|
5 | uses
|
---|
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)}
|
---|
15 | const
|
---|
16 | HeapTraceLog = 'heaptrclog.trc';
|
---|
17 | {$ENDIF}
|
---|
18 |
|
---|
19 | begin
|
---|
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;
|
---|
32 | end.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.