From 1e60bc6ba58667a93154430e5bbec94c0173f76b Mon Sep 17 00:00:00 2001 From: Rick de Bondt Date: Mon, 10 Jan 2022 19:47:27 +0100 Subject: [PATCH] fix: add CHTYPE_32 fix: add CHTYPE_32 #2 fix: add CHTYPE_32 #3 fix: add CHTYPE_32 #4 --- Includes/UserInterface/Window.h | 1 + Includes/UserInterface/WindowController.h | 1 + Sources/UserInterface/KeyboardController.cpp | 1 + main.cpp | 1 + 4 files changed, 4 insertions(+) diff --git a/Includes/UserInterface/Window.h b/Includes/UserInterface/Window.h index cd09b8b..305f421 100644 --- a/Includes/UserInterface/Window.h +++ b/Includes/UserInterface/Window.h @@ -13,6 +13,7 @@ #include #define PDC_WIDE +#define CHTYPE_32 #include #undef timeout diff --git a/Includes/UserInterface/WindowController.h b/Includes/UserInterface/WindowController.h index 53311de..caa530b 100644 --- a/Includes/UserInterface/WindowController.h +++ b/Includes/UserInterface/WindowController.h @@ -7,6 +7,7 @@ **/ #define PDC_WIDE +#define CHTYPE_32 #include #include "IWindow.h" diff --git a/Sources/UserInterface/KeyboardController.cpp b/Sources/UserInterface/KeyboardController.cpp index b0b12ce..6b6267d 100644 --- a/Sources/UserInterface/KeyboardController.cpp +++ b/Sources/UserInterface/KeyboardController.cpp @@ -8,6 +8,7 @@ #include #define PDC_WIDE +#define CHTYPE_32 #include #include "../../Includes/Logger.h" diff --git a/main.cpp b/main.cpp index e86b992..896a6c8 100644 --- a/main.cpp +++ b/main.cpp @@ -6,6 +6,7 @@ #include #define PDC_WIDE +#define CHTYPE_32 #include #include "Includes/IPCapDevice.h"