Background Info
In VS2017, I've defined a VC++ project with Platform Toolset "Visual Studio 2013 - Windows XP (v120_xp)"
My program has a dependency on DirectX SDK October 2004.
Soon after the entry into my program, I declare and utilize an instance of Win32::CD3DScreen
;
This causes an Unhandled exception with msvcr120.dll.
Unhandled exception at 0x6C9B4799 (msvcr120.dll) in *****.exe: An invalid parameter was passed to a function that considers invalid parameters fatal.
If I run the output executable in compatibility mode (targeting WinXP SP3) it runs.
Question
How can I debug this executable in my IDE (VS2017)?