Posted 24 February 2012 - 09:34 PM
I had almost the exact same problem recently (two months ago). what happened with me was that i was able to create a d3d 10 device with the debug flag, but about 2 months ago i downloaded the latest version of directx and installed it "over" (stupid me) the previous release, instead of uninstalling directx completely, then reinstalling the latest version. So, after i installed the latest version, my d3d10 programs would not compile when the device was created with the debug flag. I happened to reinstall windows later that month, and just downloaded and installed the latest release of directx and everything works fine now. I'm not sure if this is exactly your problem, but if you already had a directx sdk release installed, then installed a new sdk release without uninstalling the old one first, that seems to cause problems with debugging. My suggestion is to just completely uninstall all directx from your computer, then install only the newest release.