1program createbitmap; 2 3{$mode objfpc}{$H+} 4 5uses 6 {$IFDEF UNIX}{$IFDEF UseCThreads} 7 cthreads, 8 {$ENDIF}{$ENDIF} 9 Interfaces, // this includes the LCL widgetset 10 Forms, umain 11 { you can add units after this }; 12 13{$R *.res} 14 15begin 16 RequireDerivedFormResource:=True; 17 Application.Initialize; 18 Application.CreateForm(TFMain, FMain); 19 Application.Run; 20end. 21 22