Archived

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

Problem with ID3DXSprite

This topic is 5276 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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