Help request on Effect.FromFile



Hi!

When I use the following statement

effect = Effect.FromFile(device, "simple.fx", null, ShaderFlags.None, null);

in the program, I get the following exception :

Error in the application.

-2147467259(E_FAIL) at
(.... two references to the two overloads of the method Effect.FromFile)

Would it be possible to encode this message? If it's a path error, I will
be completely dissappointed because I have a copy of this file in almost every
subfolder in the directory.

Thanks for any help and/or links.
Best regards
.



Relevant Pages

  • Re: 1871 Census
    ... Apologies for replying to my own post, but I forgot the references; ... Regards _ ... Prev by Date: ...
    (soc.genealogy.britain)
  • Re: Converting
    ... references have type and objects have class. ... Regards, ... Jeff ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How do you guys handle errors from class libraries?
    ... I would throw an exception in the call. ... Regards, ... Jeff ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • Web Services
    ... Can anyone give me some good references on how to make it efficient and ... Regards, ... John ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Heard of this composition?
    ... Thankyou Tom and Mike for the references, I have followed up with some ... very interesting and informative reading. ... Regards, ... Prev by Date: ...
    (rec.pyrotechnics)