tiodor / dspack

Automatically exported from code.google.com/p/dspack
0 stars 0 forks source link

Compile Error - D3DXGetErrorString - Line 4909 in D3DX8.pas #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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);'

Original issue reported on code.google.com by A...@intproimp.com on 5 Oct 2011 at 5:21