在Pocket PC中通過ShellExecuteEx來加載其他其他EXE程序
如:
SHELLEXECUTEINFO shelInfo;
memset(&shelInfo,0,sizeof(SHELLEXECUTEINFO));
shelInfo.cbSize = sizeof(SHELLEXECUTEINFO);
shelInfo.hwnd = NULL;
shelInfo.lpVerb = L"Open";
shelInfo.lpFile = strFile;
shelInfo.lpParameters = L"PXL.exe" + strFile;
shelInfo.nShow = SW_SHOW;
BOOL bSus = ShellExecuteEx(&shelInfo);
其中lpParameters參數保留在註冊表中。