-
Notifications
You must be signed in to change notification settings - Fork 4
/
openmodbustool.lpr
30 lines (25 loc) · 834 Bytes
/
openmodbustool.lpr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
program OpenModBusTool;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms, lazcontrols, delphimodbuslazarus, FormMain,
formOptions, ThreadModBus, FormAbout, formBitEdit,
{ you can add units after this }
//modbuslib,//todo: WIP!
DefaultTranslator, formswapconfig, indylaz // - forced translation
;
{$R *.res}
begin
Application.Title:='OpenModBusTool';
RequireDerivedFormResource:=True;
Application.Initialize;
Application.CreateForm(TfrmMain, frmMain);
Application.CreateForm(TfrmOptions, frmOptions);
Application.CreateForm(TfrmAbout, frmAbout);
Application.CreateForm(TfrmBitEdit, frmBitEdit);
Application.CreateForm(TfrmSwapConfig, frmSwapConfig);
Application.Run;
end.