Changeset 26 for branches/topdown/OS.lpr


Ignore:
Timestamp:
Aug 22, 2019, 11:01:15 AM (5 years ago)
Author:
chronos
Message:
  • Added: Reboot button.
  • Added: Check memory leaks.
Location:
branches/topdown
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/topdown

    • Property svn:ignore set to
      lib
      heaptrclog.trc
      OS.exe
      OS.lps
      OS.res
  • branches/topdown/OS.lpr

    r25 r26  
    88  {$ENDIF}{$ENDIF}
    99  Interfaces, // this includes the LCL widgetset
    10   Forms, UFormMain, UApps, USystem, UAppCalc, UFormMenu, UAppFileManager
     10  Forms, SysUtils, UFormMain, UApps, USystem, UAppCalc, UFormMenu, UAppFileManager
    1111  { you can add units after this };
    1212
    1313{$R *.res}
    1414
     15{$if declared(UseHeapTrace)}
     16const
     17  HeapTraceLog = 'heaptrclog.trc';
     18{$ENDIF}
     19
    1520begin
     21  {$if declared(UseHeapTrace)}
     22  DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
     23  SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
     24  {$ENDIF}
     25
    1626  RequireDerivedFormResource:=True;
    1727  Application.Scaled:=True;
Note: See TracChangeset for help on using the changeset viewer.