Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Nome do processo em execução

From Wiki
Jump to: navigation, search
Article Metadata

Artigo
Criado por cabezonxdg em 24 Apr 2008
Última alteração feita por hamishwillee em 10 Nov 2011
O exemplo abaixo demonstra como obter o nome do processo em execução através de seu handle (classe RProcess).
#include <e32base.h>
#include <e32cons.h>
 
TInt E32Main()
{
CConsoleBase* gConsole = NULL;
_LIT(KTituloConsole, "Aplicação console");
gConsole = Console::NewL(KTituloConsole, TSize(KConsFullScreen,KConsFullScreen));
RProcess process;
TFileName nomeProcesso = process.FileName();
gConsole->Printf(nomeProcesso);
gConsole->Getch(); //
 
return 1;
}
This page was last modified on 10 November 2011, at 04:20.
208 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×