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

question for C++ developers

2 replies · 1,083 views · Started 06 June 2003

Hi there,
Can anyone tell me how to launch another application through my C++ application? I'm using Metrowerks CodeWarrior for Symbian OS v2.0 and UIQ 7.0 SDK.
The help would be highly appreciated.

Thanks

Include [code:1]eikdll.h[/code:1] and here you go:
[code:1]
TBuf<100> cmdLine = _L("z:\\system\\apps\\bmpmanip\\bmpmanip.app");
CApaCommandLine* commandLine = CApaCommandLine::NewL(cmdLine);
commandLine->SetCommandL(EApaCommandRun);
EikDll::StartAppL(*commandLine);
[/code:1]
You probably have to do some additional clean-up (of commandLine?) I guess...