This topic is now archived and is closed to further replies.


Problem with ID3DXSprite

Recommended Posts

Hi all, I am trying to create a pointer to the ID3DXSprite interface (in DX 9) using the D3DXCreateSprite function. I encountered a very strange error. The main Direct3D object (lpD3D) is created without any problems. The Direct3D device (lpD3DDev) is fine too. But when I call ID3DXSprite to create a pointer and save it to lpD3DSprite all 3 variables (lpD3D, lpD3DDev and lpD3DSprite) are changed to 0xfeeefeee! The code is in a DLL. Anybody have clue whats going on? Thank you, Mark D.

Share this post

Link to post
Share on other sites