Jump to content

  • Log In with Google      Sign In   
  • Create Account


E_FAIL without debugdevice?


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
3 replies to this topic

#1 gnomgrol   Members   -  Reputation: 584

Like
0Likes
Like

Posted 18 October 2012 - 10:14 AM

Hello boys and girls,
I get a pretty wierd error when using
hr = D3DX11CompileFromFile("Effects.fx", 0, 0, "VS", "vs_4_0", 0, 0, 0, &VS_Buffer, &error1, 0);

hr returns E_FAIL and error1 is empty.

Msdn says:
E_FAIL: Attempted to create a device with the debug layer enabled and the layer is not installed.

But I create my device without the debug-flag, so I can't see whats the point in this.
Do you have any idea?

Sponsor:

#2 _undex   Members   -  Reputation: 166

Like
0Likes
Like

Posted 19 October 2012 - 04:32 AM

you use dx11, so try to use "vs_5_0"

#3 kubera   Members   -  Reputation: 906

Like
0Likes
Like

Posted 19 October 2012 - 05:16 AM

Maybe running in the debug mode would help.
Please, check the debug console.

#4 gnomgrol   Members   -  Reputation: 584

Like
0Likes
Like

Posted 19 October 2012 - 11:33 AM

I can't use the debugging console for this since the problem does only occur on pc's without dx SDK installed. Creating the app indebugmode does not change the outcome.
Using 5_0 shaders gives me errors (can't post them since I'm not at home right now)




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