Original Post
windows xp DirectX 9.0b SDK dev-cpp v 4.9.9.2 Hi,I'm not sure this is really a problem with dev-cpp because it seems to be that the d3dx9core.h file is outdated or just missing some thing.What I'm having trouble with is the D3DXSprite->Draw() function.I'm using the DirectX SDK of the CD that came with "Beginning Game Programming",and according to that the D3DXSprite->Draw function should look like this: HRESULT Draw( LPD3DTEXTURE9, CONST RECT, CONST D3DXVECTOR3, CONST D3DXVECTOR3, D3DCOLOR); But dev-cpp seems to think it should go like this: HRESULT Draw( LPDIRECT3DTEXTURE9, CONST RECT, CONST D3DXVECTOR2, CONST D3DXVECTOR2, FLOAT, CONST D3DXVECTOR2, D3DCOLOR); And it seem Dev-Cpp is right because I looked in the d3dx9core.h file (which is where it should be I think) but only the second function seems to exist. I also have problems with D3DXSprite->Begin(D3DXSPRITE_ALPHABLEND) but I have a feeling there both related. Anybody have any sugestions?