My application starts an other application (CApaApplication) with the following source code
_LIT(KViewEditAppFileName,"DIGITIZER.APP");
CApaProcess* process=CEikonEnv::Static()->Process();
// Add a new embedded document to the current process with the type of our viewer\editor app
TFileName buffer = KViewEditAppFileName();
CEikDocument* document=static_cast<CEikDocument*>(process->AddNewDocumentL(buffer));
// Put this new document on the cleanup stack
TApaDocCleanupItem cleanup(process, document);
CleanupStack::PushL(cleanup); // push cleanup
// Tell the document to initialise
document->NewDocumentL();
The launched application was a .app (TARGETTYPE APP in .mmp file) in the SDK 2nd edition and has been changed to an .exe (TARGETTYPE EXE in .mmp file) in the SDK 3rd edition.
What is the way to launch the .exe application ?

Reply With Quote

