mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-12 17:38:01 +02:00
19 lines
342 B
ObjectPascal
19 lines
342 B
ObjectPascal
program SingleThreadingExample1;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
uses
|
|
{$IFDEF UNIX}{xx$IFDEF UseCThreads}
|
|
cmem, cthreads,
|
|
{$ENDIF}{xx$ENDIF}
|
|
Interfaces, // this includes the LCL widgetset
|
|
Forms
|
|
{ add your units here }, ProcessMessagesUnit1;
|
|
|
|
begin
|
|
Application.Initialize;
|
|
Application.CreateForm(TForm1, Form1);
|
|
Application.Run;
|
|
end.
|
|
|