launching another application

Login to reply to this topic.
Fri, 2003-06-06 08:12
Joined: 2003-06-06
Forum posts: 1
I want to launch another application through my C++ code. I'm using Metrowerks CodeWarrior for Symbian OS v2.0 and Symbian UIQ SDK 7.0.
Please help.

Fri, 2003-06-06 08:52
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 1918
launching another application
You can do something like this (this is at least working on 6.1):

Code:
CApaCommandLine * cmd=CApaCommandLine::NewL();

cmd->SetLibraryNameL(_L("<your app with full path>"));
cmd->SetDocumentNameL(_L("<a document name if any<"));
cmd->SetCommandL(EApaCommandRun);
EikDll::StartAppL(*cmd);

Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

  • Login to reply to this topic.