Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualProgrammerDX

Posted 12 February 2013 - 10:51 PM

On some of my client's PC's, D3DXCreateEffectFromFile fails regardless of the content of the .fx file.

 

D3DXCreateEffectFromFile returns an undocumented HRESULT value: 0x8007007E

 

Parameter ppCompilationErrors is NULL so it's not possible to retrieve any further error information.

 

It fails on some PC's, but on most it's fine!

 

So, I have a downloaded an .exe of arbitrary tutorial that shows .fx files and supplied that to the client's with the problem, and that works just fine. That was build on a DirectX version from 2006/2007 (d3dx_30.dll). So it's not about shaders not being supported or something!

 

I then rebuild that tutorial's project on my IDE (DirectX SDK June 2010), supplied the .exe to the client's experiencing this bug and then the function bugs again!

 

So, then I thought it might be the different DirectX SDK's.

 

I decided to download an old DirectX SDK, in my case August 2007.

 

I compiled the .exe with the old DirectX SDK and then the .exe and effect runs just fine!

 

To Summarize

D3DXCreateEffectFromFile in SDK 2007: OK

D3DXCreateEffectFromFile in SDK 2010: UNKNOWN FAIL

 

What black sorcery is causing this!?


#7ProgrammerDX

Posted 12 February 2013 - 10:51 PM

On some of my client's PC's, D3DXCreateEffectFromFile fails regardless of the content of the .fx file.

 

D3DXCreateEffectFromFile returns an undocumented HRESULT value: 0x8007007E

 

Parameter ppCompilationErrors is NULL so it's not possible to retrieve any further error information.

 

It fails on some PC's, but on most it's fine!

 

So, I have a downloaded an .exe of arbitrary tutorial that shows .fx files and supplied that to the client's with the problem, and that works just fine. That was build on a DirectX version from 2006/2007 (d3dx_30.dll). So it's not about shaders not being supported or something!

 

I then rebuild that tutorial's project on my IDE (DirectX SDK June 2010), supplied the .exe to the client's experiencing this bug and then the function bugs again!

 

So, then I thought it might be the different DirectX SDK's.

 

I decided to download an old DirectX SDK, in my case August 2007.

 

I compiled the .exe with the old DirectX SDK and then the .exe and effect runs just fine!

 

To Summarize

D3DXCreateEffectFromFile in SDK 2007: OK

D3DXCreateEffectFromFile in SDK 2010: UNKNOWN FAIL

 

What's black sorcery is causing this!?


#6ProgrammerDX

Posted 12 February 2013 - 10:50 PM

On some of my client's PC's, D3DXCreateEffectFromFile fails regardless of the content of the .fx file.

 

D3DXCreateEffectFromFile returns an undocumented HRESULT value: 0x8007007E

 

Parameter ppCompilationErrors is NULL so it's not possible to retrieve any further error information.

 

It fails on some PC's, but on most it's fine!

 

So, I have a downloaded an .exe of arbitrary tutorial that shows .fx files and supplied that to the client's with the problem, and that works just fine. That was build on a DirectX version from 2006/2007 (d3dx_30.dll). So it's not about shaders not being supported or something!

 

I then rebuild that tutorial's project on my IDE (DirectX SDK June 2010), supplied the .exe to the client's experiencing this bug and then the function bugs again!

 

So, then I thought it might be the different DirectX SDK's.

 

I decided to download an old DirectX SDK, in my case August 2007.

 

I compiled the .exe with the old DirectX SDK and then the .exe and effect runs just fine!

 

To Summarize

D3DXCreateEffectFromFile in SDK 2007: OK

D3DXCreateEffectFromFile in SDK 2010: UNKNOWN FAIL

 

What's causing this!?


#5ProgrammerDX

Posted 12 February 2013 - 10:43 PM

Compiling on June 2010 DirectX SDK in Visual Studio 2010 Prof

 

On some of my client's PC's, D3DXCreateEffectFromFile fails regardless of the content of the .fx file.

 

D3DXCreateEffectFromFile returns an undocumented HRESULT value: 0x8007007E

 

Parameter ppCompilationErrors is NULL so it's not possible to retrieve any further error information.

 

It fails on some PC's, but on most it's fine!

 

I have a downloaded an .exe of arbitrary tutorial that shows .fx files and supplied that to the client's with the problem, and that works just fine. That was build on a DirectX version from 2006/2007 (d3dx_30.dll)

 

I then rebuild that tutorial's project on my IDE, and then my compiled .exe gives the same error.

 

So then I decided to download an old DirectX SDK, in my case August 2007.

 

I compiled the .exe with that DirectX and then the .exe and effect runs just fine.

 

 

Summary

D3DXCreateEffectFromFile in SDK 2007: OK

D3DXCreateEffectFromFile in SDK 2010: UNKNOWN FAIL

 

What's causing this!?


#4ProgrammerDX

Posted 12 February 2013 - 10:41 PM

Compiling on June 2010 DirectX SDK in Visual Studio 2010 Prof

 

On some of my client's PC's, D3DXCreateEffectFromFile fails regardless of the content of the .fx file.

 

D3DXCreateEffectFromFile returns an undocumented HRESULT value: 0x8007007E

 

Parameter ppCompilationErrors is NULL so it's not possible to retrieve any further error information.

 

It happens on some PC's, but on some it doesn't. (no clue what the difference is between computers, it happens on new computers).

 

I have a downloaded an .exe of arbitrary tutorial that shows .fx files and supplied that to the client's with the problem, and that works just fine. That was build on a DirectX version from 2006/2007 (d3dx_30.dll)

 

I then rebuild that tutorial's project on my IDE, and then my compiled .exe gives the same error.

 

So then I decided to download an old DirectX SDK, in my case August 2007.

 

I compiled the .exe with that DirectX and then the .exe and effect runs just fine.

 

 

Summary

D3DXCreateEffectFromFile in SDK 2007: OK

D3DXCreateEffectFromFile in SDK 2010: UNKNOWN FAIL

 

What's causing this!?


#3ProgrammerDX

Posted 12 February 2013 - 10:41 PM

Compiling on June 2010 DirectX SDK in Visual Studio 2010 Prof

 

On some of my client's PC's, D3DXCreateEffectFromFile fails regardless of the content of the .fx file.

 

D3DXCreateEffectFromFile returns an undocumented HRESULT value: 0x8007007E

 

Parameter ppCompilationErrors is NULL so it's not possible to retrieve any further error information.

 

It happens on some PC's, but on some it doesn't. (no clue what the difference is between computers, it happens on new computers).

 

I have a downloaded an .exe of arbitrary tutorial that shows .fx files and supplied that to the client's with the problem, and that works just fine. That was build on a DirectX version from 2006/2007 (d3dx_30.dll)

 

I then rebuild that tutorial's project on my IDE, and then my compiled .exe gives the same error.

 

So then I decided to download an old DirectX SDK, in my case August 2007.

 

I compiled the .exe with that DirectX and then the .exe and effect runs just fine.

 

 

Summary

Compile D3DXCreateEffectFromFile in SDK 2007: OK

Compile D3DXCreateEffectFromFile in SDK 2010: UNKNOWN FAIL

 

What's causing this!?


PARTNERS