This page was last modified 16:42, 24 April 2008.
Nome do processo em execução
From Forum Nokia Wiki
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; }
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem on IrObex | Peppino1 | General Symbian C++ | 2 | 2007-01-25 20:47 |
| retrieve GSM cell id | ibec | Symbian Networking & Messaging | 241 | 2008-04-29 17:19 |
| appuifw.Form | giogiogio | Python | 12 | 2007-08-21 11:39 |
| Anybody know What´s wrong in the code below: | Léo | Symbian Networking & Messaging | 1 | 2006-06-12 07:16 |
| Problems with bluetooth and multiple nokias | hiruzzo | Mobile Java Networking & Messaging & Security | 1 | 2007-10-27 15:09 |
