Wiki copymirror

This is a mirror of the wiki at pascal.chat. Editing, history and sign-in are there.

Programming in Symbian OS

This page is a tutorial about how one can use the Symbian OS API to write software

Overview

Hello World

Description

When started, this software will display a 'My Pascal Hello' message on the screen and then quit. The message will remain for about 5 seconds.

Notes

Code

QPasHello.ini

ini
[Main]
EXENAME=QPasHello.exe
TARGETTYPE=EXE
UID2=0x100039CE
UID3=0xE1000002

[Files]
source0=QPasHello.pas

QPasHello.pas

pascal
program qpashello;

{$mode objfpc}{$H+}

uses symbian;

var
  aMsg: array[0..255] of Char;
begin
  aMsg := 'My Pascal Hello';
  User_InfoPrint(aMsg);
end.

See Also


From the Free Pascal wiki, page "Programming in Symbian OS", as it stood on 2020-02-23 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 1, last changed by WikiArchive .