|
发表于 2020-8-3 22:30:01
|
显示全部楼层
直接用winrar的解压程序解压
CString cStr = "x ";
cStr += strpath;
cStr += " ";
cStr += m_SavePath + strtitle + "\\";
int nLen = cStr.GetLength();
LPCSTR lpszBuf = cStr.GetBuffer(nLen);
ShellExecute(NULL,"open","C:\\Program Files\\WinRAR\\WinRAR.exe",
lpszBuf,
NULL,SW_HIDE); |
|