Jump to content
  • Advertisement
Sign in to follow this  
Renthalkx97

C++ DirectX 11 Problems

This topic is 2130 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey this is my first time on the forums so bear with me. I recently started using a new laptop and ever since whenever I try to run DirectX 11 programs I get the "Failed Creating the Direct3D Device" error. Now if I run a DirectX 10/9 program I get no errors and everything runs fine. HOWEVER, when I run DXDIAG it says I have DirectX 11. So I'm not really sure what is going on. And it's nothing to do with my code because I've even ran sample code off Microsoft's website for DX11 and it still gave me the same error. Any one got any idea what's going wrong? Thanks in adance.

Share this post


Link to post
Share on other sites
Advertisement

Well, there is a difference in how you set up the Direct3D device between DX10 and DX11. In DX11 they have split the device up into device and deviceContext so the set up is slightly different. Are you 100 % sure that you have done it correctly? Which Graphics Card do you have?

Share this post


Link to post
Share on other sites

Having DirectX 11 installed does not mean your card necessarily supports the full functionality of DX11. It may, in fact, only support feature level 10, or 10_1.

Share this post


Link to post
Share on other sites

Well, there is a difference in how you set up the Direct3D device between DX10 and DX11. In DX11 they have split the device up into device and deviceContext so the set up is slightly different. Are you 100 % sure that you have done it correctly? Which Graphics Card do you have?

Yes, I'm 100% sure. I downloaded the VC++ project from Microsoft and directly opened it in VC++ 2010 Express. And I have some P.O.S. Intel HD Graphics Family card.

 

Having DirectX 11 installed does not mean your card necessarily supports the full functionality of DX11. It may, in fact, only support feature level 10, or 10_1.

Yes, I know but I figured since I can play WoW with DirectX 11 enabled then my card supports all of that stuff? Correct me if I'm wrong please.

Edited by Renthalkx97

Share this post


Link to post
Share on other sites

With DirectX 10 and above you can create devices that support lower feature levels. I cannot be sure what WoW does, but it is likely that they would support feature levels 10 and 10_1 at least.

Share this post


Link to post
Share on other sites

 

Well, there is a difference in how you set up the Direct3D device between DX10 and DX11. In DX11 they have split the device up into device and deviceContext so the set up is slightly different. Are you 100 % sure that you have done it correctly? Which Graphics Card do you have?

Yes, I'm 100% sure. I downloaded the VC++ project from Microsoft and directly opened it in VC++ 2010 Express. And I have some P.O.S. Intel HD Graphics Family card.

 

Here is a link to the different cards from Intel and what DirectX versions they support. Find out exactly which one you have and know for sure.

http://www.intel.com/support/graphics/sb/CS-033757.htm

Share this post


Link to post
Share on other sites

Under the "display" tab in dxdiag you can see which feature levels are supported by your hardware.

Share this post


Link to post
Share on other sites

Also I read that it's fairly easy to convert DX10 code to DX11 code. Is that true? Because I'm probably going to be getting a new laptop which supports DX11 soon.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!