We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5da249a commit 724e248Copy full SHA for 724e248
SarConvert/main.cpp
@@ -56,7 +56,7 @@ int wmain(int argc, LPCWSTR* argv)
56
wcscat_s(dstName, L".png");
57
58
IStream* tmp;
59
- HRESULT hr = SHCreateStreamOnFileW(argv[1], STGM_READ, &tmp);
+ HRESULT hr = SHCreateStreamOnFileW(f, STGM_READ, &tmp);
60
if (!SUCCEEDED(hr)) {
61
std::cout << "Failed to Open SAR File";
62
continue;
0 commit comments