struct ERF
{
- int erfOper;
- int erfType;
+ INT erfOper;
+ INT erfType;
BOOL fError;
};
}
BOOL StartProcess(ATL::CStringW &Path, BOOL Wait)
-{
+{
return StartProcess(const_cast<LPWSTR>(Path.GetString()), Wait);;
}
if (Result == S_OK)
{
Dest.Operation = EXTRACT_EXTRACTFILES;
+ CreateDirectoryW(lpOutputPath, NULL);
+
Result = pfnExtract(&Dest, szCabName);
if (Result == S_OK)
{
return FALSE;
// convert it to an actual integer
- int result = StrToIntW(Buffer.GetString());
+ INT result = StrToIntW(Buffer.GetString());
return (UINT) (result <= 0) ? 0 : result;
}