program virtcpu; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Interfaces, // this includes the LCL widgetset Forms, UMachine, UInstructionWriter, UVarInt { you can add units after this }, UFormMain, UCpu; {$R *.res} begin RequireDerivedFormResource := True; Application.Initialize; Application.CreateForm(TFormMain, FormMain); Application.Run; end.