Line 4909 of D3DX8 will cause an error at compile time.
[DCC Error] D3DX8.pas(4909): E2250 There is no overloaded version of
'D3DXGetErrorString' that can be called with these arguments
The call is to 'D3DXGetErrorString(hr, PAnsiChar(@Buffer), 255);'
The error was corrected by switching the method call to
'D3DXGetErrorStringA(hr, PAnsiChar(@Buffer), 255);'