mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-30 18:24:36 +01:00
Fixed bug in GUI that prevented startup of Start menu
This commit is contained in:
parent
04982aa11d
commit
522440f9c3
@ -380,7 +380,9 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt)
|
||||
td.pfCallback = GUI_AboutProc;
|
||||
td.lpCallbackData = 0;
|
||||
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,
|
||||
&ret,
|
||||
NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user