i am using ShellExecuteEx to call the properties wizard of a zip file from a floatmenu but the program always reports errors
when i change the file into a txt file or a bin folder, it works
Thanks for any helpPHP Code:switch(LOWORD(pMsg->wParam))
{
case IDC_FMENUPROPERTY:
const TCHAR* verb=_T("properties");
if(-1!=index)
{
SHELLEXECUTEINFO shellExInfo;
shellExInfo.cbSize=sizeof(SHELLEXECUTEINFO);
shellExInfo.fMask=NULL;
shellExInfo.hwnd=NULL;
CString fn=_T("keinnie05.zip")
shellExInfo.lpVerb=verb;
shellExInfo.lpFile=fn;
shellExInfo.hIcon=NULL;
shellExInfo.lpParameters=NULL;
shellExInfo.lpDirectory=NULL;
shellExInfo.lpIDList=NULL;
shellExInfo.nShow=SW_SHOWNORMAL;
ShellExecuteEx(&shellExInfo);
}
}




Reply With Quote