2012-04-19 14:36:23 +00:00
|
|
|
program TDIDemo;
|
|
|
|
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
|
|
|
|
uses
|
|
|
|
{$IFDEF UNIX}{$IFDEF UseCThreads}
|
|
|
|
cthreads,
|
|
|
|
{$ENDIF}{$ENDIF}
|
|
|
|
Interfaces, // this includes the LCL widgetset
|
2012-04-20 12:39:44 +00:00
|
|
|
Forms, uMainForm, uForm2
|
2012-04-19 14:36:23 +00:00
|
|
|
{ you can add units after this };
|
|
|
|
|
|
|
|
{$R *.res}
|
|
|
|
|
|
|
|
begin
|
|
|
|
RequireDerivedFormResource := True;
|
|
|
|
Application.Initialize;
|
|
|
|
Application.CreateForm(TfMainForm, fMainForm) ;
|
2012-04-20 12:39:44 +00:00
|
|
|
Application.CreateForm(TForm2, Form2) ;
|
2012-04-19 14:36:23 +00:00
|
|
|
Application.Run;
|
|
|
|
end.
|
|
|
|
|