From 0d3d54992104288e9ee0c834d0b96e8502fd2d42 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Thu, 11 Jan 2024 18:26:20 -0800 Subject: Move the BootstrapperApplication out of proc --- src/tools/thmviewer/thmviewer.cpp | 4 ++-- src/tools/thmviewer/thmviewer.manifest | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'src/tools') diff --git a/src/tools/thmviewer/thmviewer.cpp b/src/tools/thmviewer/thmviewer.cpp index 4230dd35..5d4b88f5 100644 --- a/src/tools/thmviewer/thmviewer.cpp +++ b/src/tools/thmviewer/thmviewer.cpp @@ -109,10 +109,10 @@ int WINAPI wWinMain( ExitOnFailure(hr, "Failed to create theme."); hr = CreateMainWindowClass(hInstance, vpTheme, &atom); - ExitOnFailure(hr, "Failed to create main window."); + ExitOnFailure(hr, "Failed to create thmviewer main window."); hr = ThemeCreateParentWindow(vpTheme, 0, reinterpret_cast(atom), vpTheme->sczCaption, vpTheme->dwStyle, CW_USEDEFAULT, CW_USEDEFAULT, HWND_DESKTOP, hInstance, NULL, THEME_WINDOW_INITIAL_POSITION_DEFAULT, &hWnd); - ExitOnFailure(hr, "Failed to create window."); + ExitOnFailure(hr, "Failed to create thmviewer parent window."); if (!sczThemeFile) { diff --git a/src/tools/thmviewer/thmviewer.manifest b/src/tools/thmviewer/thmviewer.manifest index 4663b61c..bdf6a993 100644 --- a/src/tools/thmviewer/thmviewer.manifest +++ b/src/tools/thmviewer/thmviewer.manifest @@ -3,16 +3,17 @@ - + WiX Toolset Theme Viewer - + - + true/pm PerMonitorV2, PerMonitor, System + true -- cgit v1.2.3-55-g6feb