Changeset 96 for trunk/ZdechovNET.lpr
- Timestamp:
- Oct 2, 2012, 9:22:02 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 5 5 backup 6 6 ZdechovNET.lps 7 heaptrclog.trc
-
- Property svn:ignore
-
trunk/ZdechovNET.lpr
r81 r96 8 8 {$ENDIF} 9 9 UUtils, USqlDatabase, SysUtils, Contnrs, Forms, 10 UUser, UHTTPSessionMySQL, UHTTPSessionFile, 10 UUser, UHTTPSessionMySQL, UHTTPSessionFile, Printers, 11 11 UCommon, UHTTPServer, UHTTPServerTCP, UHTTPServerCGI, UTCPServer, UPool, 12 12 UMemoryStreamEx, UMIMEType, UPageList, Interfaces, UCore, UWebApp; 13 13 14 {$IFDEF DEBUG} 15 const 16 HeapTraceLog = 'heaptrclog.trc'; 17 {$ENDIF} 18 14 19 begin 20 {$IFDEF DEBUG} 21 // Heap trace 22 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog); 23 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog); 24 {$ENDIF} 25 15 26 with Application do begin 16 27 Initialize; … … 18 29 Core.Run; 19 30 Run; 31 Printer.RawMode := True; // Avoid printer finalization exception 20 32 end; 21 33 end.
Note:
See TracChangeset
for help on using the changeset viewer.