program test_calc; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Interfaces, // this includes the LCL widgetset Forms, laz_synapse { add your units here }, main_unit, calculator, calculator_proxy; begin Application.Initialize; Application.CreateForm(Tfmain, fmain); Application.Run; end.