We want to use class TApaTask since it has API “BringToForeGround” and “SendToForeGround”. However after starting an exe using EikDll::StartExe() (notice: RApaLsSession only has API “StartApp”, which doesn’t work if used to start an exe), if use TApaTaskList to find the exe we got failure:
TApaTaskList taskList( ws );
TApaTask task = taskList.FindApp( KMyExeFullName ); // KMyExeFullName is a full path name
if( task.Exists() ) //always fail for exe type
Thanks for your response.