Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pavlov <ipavlov@users.sourceforge.net>2011-04-18 04:00:00 +0400
committerKornel LesiƄski <kornel@geekhood.net>2016-05-28 02:16:06 +0300
commit83f8ddcc5b2161e1e3c49666265257fca8aeb12c (patch)
treefa164096cf0b1cdc9707ae031efc6a5017dd6963 /CPP/7zip/Bundles/SFXWin/Main.cpp
parent35596517f203f1c4970413b3b5b2e216b849e462 (diff)
9.229.22
Diffstat (limited to 'CPP/7zip/Bundles/SFXWin/Main.cpp')
-rwxr-xr-xCPP/7zip/Bundles/SFXWin/Main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/CPP/7zip/Bundles/SFXWin/Main.cpp b/CPP/7zip/Bundles/SFXWin/Main.cpp
index bb7318a1..bd72fc08 100755
--- a/CPP/7zip/Bundles/SFXWin/Main.cpp
+++ b/CPP/7zip/Bundles/SFXWin/Main.cpp
@@ -20,6 +20,7 @@
#include "../../UI/Common/Extract.h"
#include "../../UI/Common/ExitCode.h"
#include "../../UI/Explorer/MyMessages.h"
+#include "../../UI/FileManager/MyWindowsNew.h"
#include "../../UI/GUI/ExtractGUI.h"
#include "../../UI/GUI/ExtractRes.h"
@@ -38,6 +39,11 @@ void ErrorMessageForHRESULT(HRESULT res)
int APIENTRY WinMain2()
{
+ // OleInitialize is required for ProgressBar in TaskBar.
+ #ifndef UNDER_CE
+ OleInitialize(NULL);
+ #endif
+
UString password;
bool assumeYes = false;
bool outputFolderDefined = false;