Skip to content

Commit 4119f33

Browse files
committed
fix debug builds
1 parent 72a800a commit 4119f33

3 files changed

Lines changed: 19 additions & 3 deletions

File tree

SecureUxTheme.sln

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,14 @@ Global
4646
{9EF2EA5B-B660-4F8A-8ECB-F2DBD19B8435}.Release|Win32.Build.0 = Release|Win32
4747
{9EF2EA5B-B660-4F8A-8ECB-F2DBD19B8435}.Release|x64.ActiveCfg = Release|x64
4848
{9EF2EA5B-B660-4F8A-8ECB-F2DBD19B8435}.Release|x64.Build.0 = Release|x64
49-
{D281B2E2-BCB9-4E7F-9FF4-312A52E68D94}.Debug|ARM64.ActiveCfg = Debug|Win32
49+
{D281B2E2-BCB9-4E7F-9FF4-312A52E68D94}.Debug|ARM64.ActiveCfg = Debug|ARM64
5050
{D281B2E2-BCB9-4E7F-9FF4-312A52E68D94}.Debug|Win32.ActiveCfg = Debug|Win32
5151
{D281B2E2-BCB9-4E7F-9FF4-312A52E68D94}.Debug|Win32.Build.0 = Debug|Win32
5252
{D281B2E2-BCB9-4E7F-9FF4-312A52E68D94}.Debug|x64.ActiveCfg = Debug|x64
53-
{D281B2E2-BCB9-4E7F-9FF4-312A52E68D94}.Debug|x64.Build.0 = Debug|x64
5453
{D281B2E2-BCB9-4E7F-9FF4-312A52E68D94}.Release|ARM64.ActiveCfg = Release|ARM64
5554
{D281B2E2-BCB9-4E7F-9FF4-312A52E68D94}.Release|Win32.ActiveCfg = Release|Win32
5655
{D281B2E2-BCB9-4E7F-9FF4-312A52E68D94}.Release|Win32.Build.0 = Release|Win32
5756
{D281B2E2-BCB9-4E7F-9FF4-312A52E68D94}.Release|x64.ActiveCfg = Release|x64
58-
{D281B2E2-BCB9-4E7F-9FF4-312A52E68D94}.Release|x64.Build.0 = Release|x64
5957
EndGlobalSection
6058
GlobalSection(SolutionProperties) = preSolution
6159
HideSolutionNode = FALSE

SecureUxTheme/avrf.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@
2626
#define _CRT_SECURE_NO_WARNINGS
2727
#endif
2828

29+
// Make debug builds link. Debugging sucks either way
30+
#ifdef _ITERATOR_DEBUG_LEVEL
31+
#undef _ITERATOR_DEBUG_LEVEL
32+
#endif
33+
#define _ITERATOR_DEBUG_LEVEL 0
34+
2935
#include <ntstatus.h>
3036
#define WIN32_NO_STATUS
3137
#include <windows.h>

ThemeTool/ThemeTool.rc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,24 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
2929
// 256
3030
//
3131

32+
#if defined(_DEBUG)
33+
34+
IDR_SECUREUXTHEME_DLL_X86 256 "../bin/Debug/Win32/SecureUxTheme.dll"
35+
36+
IDR_SECUREUXTHEME_DLL_X64 256 "../bin/Debug/x64/SecureUxTheme.dll"
37+
38+
IDR_SECUREUXTHEME_DLL_ARM64 256 "../bin/Debug/ARM64/SecureUxTheme.dll"
39+
40+
#else
41+
3242
IDR_SECUREUXTHEME_DLL_X86 256 "../bin/Release/Win32/SecureUxTheme.dll"
3343

3444
IDR_SECUREUXTHEME_DLL_X64 256 "../bin/Release/x64/SecureUxTheme.dll"
3545

3646
IDR_SECUREUXTHEME_DLL_ARM64 256 "../bin/Release/ARM64/SecureUxTheme.dll"
3747

48+
#endif
49+
3850
IDR_LICENSE 256 "../LICENSE"
3951

4052

0 commit comments

Comments
 (0)