Browse Source

Fixed bug in GUI that prevented startup of Start menu

pull/51/head
Valentin Radu 4 years ago
parent
commit
522440f9c3
  1. 4
      ExplorerPatcher/GUI.c

4
ExplorerPatcher/GUI.c

@ -380,7 +380,9 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt)
td.pfCallback = GUI_AboutProc; td.pfCallback = GUI_AboutProc;
td.lpCallbackData = 0; td.lpCallbackData = 0;
int ret; int ret;
HRESULT hr = TaskDialogIndirect(
// If used directly, StartMenuExperienceHost.exe crashes badly and is unable to start; guess how I know...
(HRESULT(*)(const TASKDIALOGCONFIG*, int*, int*, BOOL*))(GetProcAddress(GetModuleHandleA("Comctl32.dll"), "TaskDialogIndirect"))(
&td, &td,
&ret, &ret,
NULL, NULL,

Loading…
Cancel
Save