windows mobile下獲取應用的安裝路徑
TCHAR cPath[MAX_PATH];
CString filePath;
GetModuleFileName( NULL, cPath, MAX_PATH );
filePath = cPath;
filePath = filePath.Left(filePath.ReverseFind('\\'));
AfxMessageBox(filePath); // strPath為你想得到的EXE文件路徑
posted on 2008-02-18 16:28 郭天文 閱讀(1032) 評論(0) 編輯 收藏 引用 所屬分類: Windows Mobile