program MyData; uses {$IFDEF UNIX}cthreads, clocale,{$ENDIF} Interfaces, // this includes the LCL widgetset Forms, UFormTables, UCore, UIpAddress, Common, UFormTable, UFormRecords, UFormRecord, UFormFields, UFormField, UFormMain, SysUtils, UFormConnect, UFormDatabases, UFormPreferences; {$R *.res} {$if declared(UseHeapTrace)} const HeapTraceLog = 'heaptrclog.trc'; {$ENDIF} begin {$if declared(UseHeapTrace)} // Heap trace DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog); SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog); {$ENDIF} RequireDerivedFormResource := True; Application.Scaled:=True; Application.Initialize; Application.CreateForm(TCore, Core); Application.CreateForm(TFormMain, FormMain); Application.Run; end.