Programming in Symbian OS

This is an old revision of Programming in Symbian OS, edited by Sekelsenmat at . The current revision is 37841.

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

Overview

Hello World

Here is the code of the pascal hello world Symbian OS software:

QPasHello.ini:

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

[Files]
source0=QPasHello.pas

QPasHello.pas

program qpashello;

{$mode objfpc}{$H+}

uses symbian;

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

Some things to be noted about it: