Jump to content
  • Advertisement
Sign in to follow this  
Eitsch

[SlimDX] D3D10 Effect.FromFile fails

This topic is 3987 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

my c# app crashes at: D3D10.Effect effect = D3D10.Effect.FromFile(m_device, "MiniTri10.fx", "fx_4_0"); the slimdx example MiniTri10 works but in my app i get SEHException. i use exactly the same effect source (as in the example) and the device seems to be ok. (clearing framebuffer works) any ideas? thanks

Share this post


Link to post
Share on other sites
Advertisement
this exception occurs in all cases. if file exists, or it doesn't - evertime SEHException.

EDIT:

after rebuilding the slimdx dll using latest svn source it seems to work. this dll does not contain the.FromFile overload method with 2 arguments. now i use: D3D10.Effect effect = D3D10.Effect.FromFile(Device, file, "fx_4_0", D3D10.ShaderFlags.Debug, D3D10.EffectFlags.None, (D3D10.EffectPool)null);

[Edited by - Eitsch on January 12, 2008 11:58:16 AM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!