1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
program jpeg; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, fpg_main, main; procedure MainProc; begin fpgApplication.Initialize; frmMain := TfrmMain.Create(nil); frmMain.Show; fpgApplication.Run; frmMain.Free; end; begin MainProc; end.