|
Sujet : Windows Mobile 6: Commande C++ pour lancer une application |
| 1rageux |
Oki! Jpense avoir trouvé ce qu'il me faut!
Il faut utiliser la function ShellExecuteEx();
Voici le code:
Code :
- SHELLEXECUTEINFO ShExecInfo = {0};
- ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
- ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
- ShExecInfo.hwnd = NULL;
- ShExecInfo.lpVerb = L"open";
- ShExecInfo.lpFile = L"http://www.google.ca/";
- ShExecInfo.lpParameters = NULL;
- ShExecInfo.lpDirectory = NULL;
- ShExecInfo.nShow = SW_SHOW;
- ShExecInfo.hInstApp = NULL;
- ShellExecuteEx(&ShExecInfo);
|
|