When I try to run certain example applications (like mview.exe) in DX9 it returns E_FAIL. Why is it so?
To understand which API call of your d3dapplication (like mview.exe) is crashing (returning E_FAIL) use the d3dspy utility provided with DirectX9. During the presentation parameter structure creation much of the DirectX9 samples select the best display mode available and will try color conversion if your desktop color depth doesn't matches with the selected mode's color depth. But as the runtime does not include a software fallback for color-conversion, Device creation will fail if IDirect3D9::CheckDeviceType (...) and IDirect3D::CheckDeviceFormatConversion (...) request conversion and the hardware do not support it.In some display adapters this leads to Application crashes as they can't find a suitable mode matching the desktop render depth. The problem can be avoided by reducing the monitor render depth (eg: - 24 bit to 16 bit).
FAQ Menu
Sponsored links
Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Check Out IT Certification Preparation Materials
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
Six Sigma Certification
100% Online-Six Sigma Certificate from Villanova - Find Out More Now.
100% Online-Six Sigma Certificate from Villanova - Find Out More Now.
SSH and SFTP support for .NET
Add complete SSH and SFTP support to your .NET framework application
Add complete SSH and SFTP support to your .NET framework application
ASP.NET 3.5 Hosting on Windows 2008!
ASP.NET 3.5/2.0 Hosting on Windows 2008 & 2003! AJAX, LINQ, & Silverlight Ready! 3 Mo. Free!!
ASP.NET 3.5/2.0 Hosting on Windows 2008 & 2003! AJAX, LINQ, & Silverlight Ready! 3 Mo. Free!!
