https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8ff9781eae1b7d9303d47…
commit 8ff9781eae1b7d9303d47f562a7adebf4ed941a6
Author: Whindmar Saksit <whindsaks(a)proton.me>
AuthorDate: Wed Oct 9 21:58:44 2024 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Wed Oct 9 21:58:44 2024 +0200
[SHELL32] Always initialize COM for Folder Options dialog (#7433)
CORE-19784
---
dll/win32/shell32/dialogs/folder_options.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/dll/win32/shell32/dialogs/folder_options.cpp
b/dll/win32/shell32/dialogs/folder_options.cpp
index 28ab64edd14..5514b62c918 100644
--- a/dll/win32/shell32/dialogs/folder_options.cpp
+++ b/dll/win32/shell32/dialogs/folder_options.cpp
@@ -234,6 +234,7 @@ enum {
static DWORD CALLBACK
ShowFolderOptionsDialogThreadProc(LPVOID param)
{
+ CCoInit com; // Required when started from rundll32 (SHAutoComplete in PickIconDlg)
PROPSHEETHEADERW pinfo;
HPROPSHEETPAGE hppages[3];
HPROPSHEETPAGE hpage;