Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Beginning DirectX11 triangle demo will not run at all!


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 Ubermeowmix   Members   -  Reputation: 333

Like
0Likes
Like

Posted 14 September 2013 - 10:13 AM

I have not deviated from the book and checked it over with their source code and I get the same error when I run the tutorial code. It says this should revert to DX10 code if there are any problems. No Idea whats going on. Any Ideas what this means guys?: First-chance exception at 0x75d6c41f in 2Drendering.exe: Microsoft C++ exception: _com_error at memory location 0x0029f330.. '2Drendering.exe': Unloaded 'C:\Windows\SysWOW64\d3d10warp.dll' '2Drendering.exe': Loaded 'C:\Windows\SysWOW64\d3d11ref.dll', Cannot find or open the PDB file First-chance exception at 0x75d6c41f in 2Drendering.exe: Microsoft C++ exception: _com_error at memory location 0x0029f330.. '2Drendering.exe': Unloaded 'C:\Windows\SysWOW64\d3d11ref.dll' c:\2drendering\2drendering\dx11demobase.cpp(121): Failed to create the Direct3D device! hr=S_OK (0x00000000) The program '[5932] 2Drendering.exe: Native' has exited with code -1 (0xffffffff). The Window visibly loads then dies milliseconds later, that is probably just windows init a win32 window though.
If you get near a point, make it!

Sponsor:

#2 Erik Rufelt   Crossbones+   -  Reputation: 3533

Like
1Likes
Like

Posted 14 September 2013 - 10:31 AM

S_OK means success... post your code, perhaps you just have a mistake in how you handle the result.



#3 Ubermeowmix   Members   -  Reputation: 333

Like
0Likes
Like

Posted 15 September 2013 - 04:32 PM

It's any of the Beginning directx11 game programming series, if I load any of their downloaded tutorial solutions they all die with the same code. What the hell is going on? I don't know why it's doing it! There's no point in posting the code as it's happening on all of the different non compiled solutions.
If you get near a point, make it!

#4 Erik Rufelt   Crossbones+   -  Reputation: 3533

Like
1Likes
Like

Posted 15 September 2013 - 05:31 PM

I don't know what code that is so there's certainly a point in posting it, preferably the shortest one that fails.

The solution is likely in improving the error handling to output a useful error message.

 

First of all, update your graphics card drivers to the latest version, and then post your GPU and your Windows version here together with the code.

 

If you're not using the D3D11_CREATE_DEVICE_DEBUG flag when attempting to create the device, use it and see if you get any additional D3D error output in your output window. If you are already using it, try removing it in case you're on Windows 7 with the latest update and using the old DirextX SDK instead of the Windows 8 SDK.

 

The error messages you posted contain messages about WARP and reference-devices which you probably don't want to be using if your system supports D3D11. It could also be a driver problem.

 


...as it's happening on all of the different non compiled solutions.

 

Does that mean that you can download already compiled binaries of the same code that works correctly?

That would increase the likelihood that the problem is with the SDK version or similar.


Edited by Erik Rufelt, 15 September 2013 - 05:34 PM.


#5 Ubermeowmix   Members   -  Reputation: 333

Like
0Likes
Like

Posted 15 September 2013 - 08:26 PM

Does that mean that you can download already compiled binaries of the same code that works correctly?
That would increase the likelihood that the problem is with the SDK version or similar.


Yes it does, i will try the previous ideas when it's not stupid-oclock, thanks for the advice I will see how it goes tomorrow.
If you get near a point, make it!

#6 Ubermeowmix   Members   -  Reputation: 333

Like
0Likes
Like

Posted 16 September 2013 - 06:21 AM

[quote name="Erik Rufelt" post="5094332" timestamp="1379287907"]
If you're not using the D3D11_CREATE_DEVICE_DEBUG flag, try removing it in case you're on Windows 7 with the latest update and using the old DirextX SDK instead of the Windows 8 SDK.[quote]

You nailed it, thanks so much for your help.
If you get near a point, make it!




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS