DX9 - Direct3D.Device - Error
Always check the results of the functions that are failing. DX9 has a nice little program which you enter the hex error number and it will then tell you what failed in the function. Granted it''s often not very specific but it will give you a place to look and usually you can figure it out with out any help.
hm.. run the "DirectX Caps Viewer" tool which can be found in the start menu, under
Microsoft DirectX 9.0 SDK > DirectX Utilities
there you''ll see which backbuffer formats are supported by your graphics hardware
Microsoft DirectX 9.0 SDK > DirectX Utilities
there you''ll see which backbuffer formats are supported by your graphics hardware
Thanks to everyone that has replied. I have resolved the problem (My card only supports 16-bit color for 3D) but am still troubled by the fact that the debugger did not give me a "BackBuffer Format invalid" or similar message. I remember getting a message like this a while ago using DX8.1 and C++.
quote:Always check the results of the functions that are failing....I do check most of the functions for proper results, unfortunatly in this case the program fails during construction rather than a function call so an exception is thrown. It seems that either the Exception handling in DX9 is incomplete or my debug runtimes are not installed properly.
quote:... run the "DirectX Caps Viewer" tool ...Damn, if you would have suggested that when I first posted I would have resolved this along time ago. As stated above, this was how I eventually did solve this problem.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement