Sign up ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Im trying to load a effect in SlimDX, but I get a error when I try to get the ShaderSignature. The error-code:

E_FAIL: An undetermined error occurred (-2147467259)

This is my code:

   EffectTechnique tech = this.effects.GetTechniqueByIndex(0);
   EffectPass pass = tech.GetPassByIndex(0);
   ShaderSignature shaderSignature = pass.Description.Signature;

Any idea?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

This error can mean:

  1. You forgot to install the DirectX SDK.
  2. You need to try reinstalling the DirectX SDK.
  3. Depending on your other code, you need to install the Debug Runtimes (specifically if you're using CreateWithSwapChain from one of the demos). This could also help get you more information.
  4. You'll need to debug more. There's a page of Debugging tips you can use to try and track down the real issue.
share|improve this answer
    
But maybe Josh or Mike will show up and save the day. – Byte56 Sep 1 '13 at 15:49
    
Debug runtimes with all the spew they generate are awesome for, you know, debugging =) – Patrick Hughes Sep 1 '13 at 16:40
    
Thanks for your answer. The error was caused by the effect, i dont know exactly what was wrong, but I re-wrote it and know it works :) but thank you for the debugging tips. – Jens Sep 1 '13 at 20:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.