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
\$\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.
| improve this answer | |
\$\endgroup\$
  • \$\begingroup\$ But maybe Josh or Mike will show up and save the day. \$\endgroup\$ – MichaelHouse Sep 1 '13 at 15:49
  • \$\begingroup\$ Debug runtimes with all the spew they generate are awesome for, you know, debugging =) \$\endgroup\$ – Patrick Hughes Sep 1 '13 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 '13 at 20:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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