Hello
i use tis code i found on symbian mailing list :
TFileName appName=_L("Z:\\system\\apps\\web\\WEB.APP"
CApaCommandLine* cmdLine=CApaCommandLine::NewLC();
cmdLine->SetLibraryNameL(appName);
cmdLine->SetCommandL(EApaCommandRun);
RApaLsSession ls;
User::LeaveIfError(ls.Connect());
CleanupClosePushL(ls);
User::LeaveIfError(ls.StartApp(*cmdLine));
CleanupStack::PopAndDestroy(2); // ls and cmdLine
Check again your code, it is propably not the same as with this example above, it's propably the one which I wrote about a month ago, where indeed I forgot to add the last line to pop stuff out from cleanupstack.