diff --git a/WinPowerDMS/WinPowerDMS.c b/WinPowerDMS/WinPowerDMS.c index 8bbb4aa..abb2d36 100644 --- a/WinPowerDMS/WinPowerDMS.c +++ b/WinPowerDMS/WinPowerDMS.c @@ -1,3 +1,7 @@ +#define WIN32_LEAN_AND_MEAN +#define _WIN32_WINNT _WIN32_WINNT_VISTA +#define NTDDI_VERSION NTDDI_VISTA + #include #include #include diff --git a/WinPowerDMS/WinPowerDMS.vcxproj b/WinPowerDMS/WinPowerDMS.vcxproj index cce3005..24dc5a4 100644 --- a/WinPowerDMS/WinPowerDMS.vcxproj +++ b/WinPowerDMS/WinPowerDMS.vcxproj @@ -118,7 +118,7 @@ ComCtl32.lib;%(AdditionalDependencies) - PerMonitorHighDPIAware + true @@ -136,7 +136,7 @@ ComCtl32.lib;%(AdditionalDependencies) - PerMonitorHighDPIAware + true