Hi,
Has anyone got any idea how to call wextract.exe? I was previously using Extract.exe (DOS-based), so I was using something of the form:
ShellExecute(NULL, // hWnd - window handle
"open", // operation
"extract.exe", // file
"/Y/A/E/L c:\Temp c:\Temp\TSPDv.cab", // Parameters
NULL, // directory
SW_HIDE); // show cmd
However, when I try this method with wextract.exe I get a messagebox saying "A required resource cannot be located". Any ideas? Is this the wrong calling method? I can't find any reference as to how to call wextract.exe anywhere. However, it must be possible as WinZip uses it to view and extract.cab files.
Any ideas gratefully received!!
Has anyone got any idea how to call wextract.exe? I was previously using Extract.exe (DOS-based), so I was using something of the form:
ShellExecute(NULL, // hWnd - window handle
"open", // operation
"extract.exe", // file
"/Y/A/E/L c:\Temp c:\Temp\TSPDv.cab", // Parameters
NULL, // directory
SW_HIDE); // show cmd
However, when I try this method with wextract.exe I get a messagebox saying "A required resource cannot be located". Any ideas? Is this the wrong calling method? I can't find any reference as to how to call wextract.exe anywhere. However, it must be possible as WinZip uses it to view and extract.cab files.
Any ideas gratefully received!!