TaskDialog not working on (or replacement for) Windows 10?
问题 We have an older WPF application that makes use of the "Windows API Code Pack" in order to show a Task Dialog (something that was introduced back in Vista but worked all the way through Windows 8). I'm now trying to run the project on Windows 10, and when I try to show the Task Dialog, I get the following exception: System.AccessViolationException : Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Microsoft.WindowsAPICodePack.Dialogs