From 335554975a0fc7a051c694a7538450cec4aa3e67 Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Sat, 2 Oct 2021 19:26:59 +0300 Subject: [PATCH] Fixed GUI not running properly in rundll32.exe --- ExplorerPatcher/GUI.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ExplorerPatcher/GUI.h b/ExplorerPatcher/GUI.h index c7f6783..45ea5ec 100644 --- a/ExplorerPatcher/GUI.h +++ b/ExplorerPatcher/GUI.h @@ -1,5 +1,8 @@ #ifndef _H_GUI_H_ #define _H_GUI_H_ +#pragma comment(linker,"\"/manifestdependency:type='win32' \ +name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \ +processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") #include #pragma comment(lib, "Version.lib") #include