Read-only archive of the All About Symbian forum (2001–2013) · About this archive

kill phone application with opl ?

1 replies · 1,722 views · Started 08 October 2003

Hi herbert!

If you are programming OPL for the Communicator 9210, you may have a look at the 'system.opx' features. The commands are listed in the include file 'system.oxh'. Possibly the follwing commands may be useful for your purpose:
SyKillCurrentProcess😞reason&😉
SyKillProcess😞process$,reason&😉
SyEndTask&😞threadId&,previous&😉
SyKillTask&😞threadId&,previous&😉
SyTerminateProcess&😞process$,reason&😉
SyTerminateCurrentProcess😞reason&😉

To get the ThreadID of a process this functions are helpful:
SyThreadIdFromOpenDoc&😞doc$,BYREF previous&😉
SyThreadIdFromAppUid&😞uid&,BYREF previous&😉
SyThreadIdFromCaption&😞caption$, BYREF previous&😉

It's some time ago that I used these commands on EPOC Release 5, so I don't no if they match your needs...

HTH Martin