Skip to content

Commit c6b1341

Browse files
authored
[SHELL32] Initialize COM for PickIconDlg (reactos#7788)
CORE-20030
1 parent 96aa1ee commit c6b1341

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dll/win32/shell32/dialogs/dialogs.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ BOOL WINAPI PickIconDlg(
354354
UINT nMaxFile,
355355
INT* lpdwIconIndex)
356356
{
357+
CCoInit ComInit; // For SHAutoComplete (CORE-20030)
357358
int res;
358359
WCHAR szExpandedPath[MAX_PATH];
359360

0 commit comments

Comments
 (0)