SPS_Emu.lpr 625 B

123456789101112131415161718192021222324252627
  1. program SPS_Emu;
  2. {$mode objfpc}{$H+}
  3. uses
  4. {$IFDEF UNIX}{$IFDEF UseCThreads}
  5. cthreads,
  6. {$ENDIF}{$ENDIF}
  7. Interfaces, // this includes the LCL widgetset
  8. Forms, sdposeriallaz, uGUI, uSPS, uTextUi, uSelectCom, MCSLSU, MCSAbout;
  9. {$R *.res}
  10. var path : string;
  11. begin
  12. path := ParamStr(0);
  13. RequireDerivedFormResource := True;
  14. Application.Initialize;
  15. MCSLSU.LSUSetDebug(false);
  16. MCSLSU.LSUInit(path, NOR_Mode, GetLNGCode);
  17. Application.CreateForm(TForm1, Form1);
  18. Application.CreateForm(TForm2, Form2);
  19. Application.CreateForm(TfrmSelectCom, frmSelectCom);
  20. Application.Run;
  21. end.