   Enabling DirectX Debug in Visual Studio
  Hi all...I got problems with DX (see http://www.gamedev.net/community/forums/topic.asp?topic_id=366432).Anyhow... im sure i can fix this by my own, if i can get my D3D to report some stuff... When im working with C#, its working fine: DX is reporting messages, warnings and errors to the Output Window of Visual Studio. But not with C++.I've created a project, added links to dx libs (d3d9.lib d3dx9.lib dxerr9.lib) (are there debug libs, i didnt find them !?) and im trying to compile an DX9 sample. The sample is working, but there no message, warning or error coming from DX in the Output Window which is impossible.Do i need some preprocessors defines? When im doing Debug->Direct3D->Start With Direct3D Debugging nothing is happening, is this normal? In my Config Panel, DX Icon, the driver is set to debug.Thanks,Jonathan   
Quote:Original post by LowRadI've created a project, added links to dx libs (d3d9.lib d3dx9.lib dxerr9.lib) (are there debug libs, i didnt find them !?)[...]Do i need some preprocessors defines? You would like to use d3dx9d.libAn universal model:#if (defined _DEBUG)#pragma comment(lib, "d3dx9d.lib")#else#pragma comment(lib, "d3dx9.lib")#endif;  Hummm... i've change the linked lib from d3dx9.lib to d3dx9d.lib in the project settings.Recompile and noting...Hummm... i just did a test... i try to rerun my C# implementation of my engine and no luck... the d3d messages are gone there too !!!So maybe, probably i did change something in VisualStudio options!!So if anyone got an idea! Plz help!Thank;  Do you have the "Debug output" sliders to the right in the DirectX options? You can find the DirectX options under "debugging" in the project options, -or- use the DirectX controlpanel icon (if you have it)   ;  Yep.. that is what i have... This is the DX Control Icon in my Control Panel i was talking about...But i think i found the solution :PIm now uninstalling DxSdk and VisualStudio!! :(Hope this gonna fix this..Thanks   ;  Arrrrrgggg !!!!I just finished reinstalling everything... and i dont received any message from DX into the Output Window...I'm completly desesperate.. did i already saw DX repporting to the Output Window.. or i just dream about it !?thx   ;  YES YES YES !!!!I found it... If someone got the same problem and want to solution..Go in Options->Debugging->GeneralAnd UNCHECK Redirect all Output Window text to the Immediate Window :PHappy New Year to All !   