File: singlethreadingexample1.lpr

package info (click to toggle)
lazarus 4.4%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 276,332 kB
  • sloc: pascal: 2,343,449; xml: 508,730; makefile: 353,085; cpp: 93,608; sh: 3,387; java: 609; perl: 297; sql: 222; ansic: 137
file content (18 lines) | stat: -rw-r--r-- 342 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.