Here I am again facing a DirectX error. In efforts to diagnose the cause of the error, I ran across a setting for the Visual Studio project that I thought I would share.

The "Enable unmanaged code debugging" checkbox in the project properties of your DirectX application will yield even more debug information to help you isolate issues with working with DirectX.

unmanageddebuggingsetting_thumb1

Remember this setting while debugging your application in the future and best of luck.