Re: Help request on Effect.FromFile
- From: "ZMan" <zman@xxxxxxxxxxxxxx>
- Date: Sun, 10 Apr 2005 11:45:11 -0700
#1 Remove the possibility of a path error by hard coding an explicit path
c:\......\simple.fx
#2 TUrn on directX debugging - do you get any other output.
--
ZMan (zman@xxxxxxxxxxxxxx)
http://www.thezbuffer.com
News and Information for Managed DirectX
"Millennium Falcon" <MillenniumFalcon@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:E8F6CADB-9012-4759-9950-06DACE5C0E11@xxxxxxxxxxxxxxxx
> 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
.
- Follow-Ups:
- Re: Help request on Effect.FromFile
- From: Millennium Falcon
- Re: Help request on Effect.FromFile
- References:
- Help request on Effect.FromFile
- From: Millennium Falcon
- Help request on Effect.FromFile
- Prev by Date: Re: simple texture help
- Next by Date: Re: Help request on Effect.FromFile
- Previous by thread: Help request on Effect.FromFile
- Next by thread: Re: Help request on Effect.FromFile
- Index(es):
Loading