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/UI/GUI/GUI.cpp | |
parent | 35596517f203f1c4970413b3b5b2e216b849e462 (diff) |
9.229.22
Diffstat (limited to 'CPP/7zip/UI/GUI/GUI.cpp')
-rwxr-xr-x | CPP/7zip/UI/GUI/GUI.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CPP/7zip/UI/GUI/GUI.cpp b/CPP/7zip/UI/GUI/GUI.cpp index 0a40b58e..5b809a63 100755 --- a/CPP/7zip/UI/GUI/GUI.cpp +++ b/CPP/7zip/UI/GUI/GUI.cpp @@ -20,6 +20,7 @@ #include "../Common/ExitCode.h" #include "../FileManager/StringUtils.h" +#include "../FileManager/MyWindowsNew.h" #include "BenchmarkDialog.h" #include "ExtractGUI.h" @@ -232,6 +233,11 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE /* hPrevInstance */, InitCommonControls(); + // OleInitialize is required for ProgressBar in TaskBar. + #ifndef UNDER_CE + OleInitialize(NULL); + #endif + ReloadLang(); // setlocale(LC_COLLATE, ".ACP"); |