[SlimDX] D3D10 Effect.FromFile fails

Started by
0 comments, last by Eitsch 16 years, 3 months ago
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
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]

This topic is closed to new replies.

Advertisement