Why am I getting a Windows ACCESS VIOLATION ERROR in DirectX file D3D8.DLL?

OFP Player TLX kept getting this error under Windows XP after installing installing Microsoft's Windows XP Application Compatibility Update. When he uninstalled it, the problem was resolved.

This does not mean that Microsoft's update may be the only cause of this problem but this is a good place to start looking.