diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2011-04-18 04:00:00 +0400 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:16:06 +0300 |
commit | 83f8ddcc5b2161e1e3c49666265257fca8aeb12c (patch) | |
tree | fa164096cf0b1cdc9707ae031efc6a5017dd6963 /CPP/7zip/Bundles/SFXWin/Main.cpp | |
parent | 35596517f203f1c4970413b3b5b2e216b849e462 (diff) |
9.229.22
Diffstat (limited to 'CPP/7zip/Bundles/SFXWin/Main.cpp')
-rwxr-xr-x | CPP/7zip/Bundles/SFXWin/Main.cpp | 6 |
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; |