取当前程序目录

    技术2024-12-03  18

    CString CMediaplayerDlg::GetCurrentPath(){

     wchar_t wcurPath[MAX_PATH]; memset(wcurPath,0,MAX_PATH); GetCurrentDirectory(MAX_PATH,wcurPath); CString pStrPath; pStrPath.Append(wcurPath); return pStrPath; }

    最新回复(0)