program AcronymDecoder; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Interfaces, // this includes the LCL widgetset Forms, UFormMain, UAcronym, synapse, UFormImport, Common, SysUtils, TemplateGenerics, UFormAcronym { you can add units after this }; {$R *.res} {$IFDEF DEBUG} const HeapTraceLog = 'heaptrclog.trc'; {$ENDIF} begin {$IFDEF DEBUG} // Heap trace DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog); SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog); {$ENDIF} Application.Title := 'Acronym Decoder'; RequireDerivedFormResource := True; Application.Initialize; Application.CreateForm(TFormMain, FormMain); Application.CreateForm(TFormImport, FormImport); Application.CreateForm(TFormAcronym, FormAcronym); Application.Run; end.