2
\$\begingroup\$

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?

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

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.
\$\endgroup\$
3
  • \$\begingroup\$ But maybe Josh or Mike will show up and save the day. \$\endgroup\$
    – House
    Sep 1, 2013 at 15:49
  • \$\begingroup\$ Debug runtimes with all the spew they generate are awesome for, you know, debugging =) \$\endgroup\$ Sep 1, 2013 at 16:40
  • \$\begingroup\$ 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. \$\endgroup\$
    – Jens
    Sep 1, 2013 at 20:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .