A while back I had some problems with silent errors from the DirectX Effect creation functions. Specifically relating to effects pools. I thought I'd fixed the root of the problem at the time. I recently moved to the August 2009 SDK and my application started generating silent errors when run on my Vista test machine.
What confused me is that installing the August 2009 redistributable package didn't work, but removing my effects pools did fix the problem. I can't have that though, because I need the effect pools. Further investigation showed that the redist does _not_ install the updated D3D compiler DLLs that you link against with the SDK - even though the cab files are in the install.
To fix the problem, find the right cab file for your CPU and copy the D3DCompiler_42.dll to the Vista system and effect pools magically start working again. |