   Really weird error
  I have a class called C2DSprite which uses the ID3DXSprite interface to display a 2D sprite on the screen. I am well aware of the DX class''s limitations, however, it''s only used for the main menu of my game so speed isn''t a problem there - it''s plenty responsive.My problem is, that I''ve been coding using the retail version of DX for a while, which has been protecting me from problems in my use of DX in my code - I''ve decided now to fix these in the interests of speed.One of my problems that I''ve found though is particularly perplexing - when I run my game and enter the main menu, everything works fine - the buttons light up when the mouse is over them etc (they are all C2DSprites). However, when I click on the buttons (and only on the buttons - anywhere else works fine) C2DSprite causes DX to throw an exception, apparently without entering any of the click detection code or main menu code.The debug output says:Direct3D8: (ERROR) : ***Exception in d:\builds\nt32_chk\multimedia\directx\dxg\d3d8\fe\d3dbase.cpp Line 3473  I have no idea how to interpret this, and was wondering if anyone else has come across similar errors - what''s typically their cause?The call stack for the error is:NTDLL! 77f767cd()D3D8D! 00e37800()INVADERS! CD3DXSprite::DrawTransform(struct IDirect3DTexture8 *,struct tagRECT const *,struct D3DXMATRIX const *,unsigned long) + 951 bytesINVADERS! CD3DXSprite::Draw(struct IDirect3DTexture8 *,struct tagRECT const *,struct D3DXVECTOR2 const *,struct D3DXVECTOR2 const *,float,struct D3DXVECTOR2 const *,unsigned long) + 209 bytesINVADERS! CD3DXSprite::Draw(struct IDirect3DTexture8 *,struct tagRECT const *,struct D3DXVECTOR2 const *,struct D3DXVECTOR2 const *,float,struct D3DXVECTOR2 const *,unsigned long) + 209 bytesINVADERS! CD3DXText::DrawTextAW(struct HFONT__ *,void const *,int,struct tagRECT *,unsigned long,unsigned long,int) + 1220 bytesINVADERS! CD3DXFont::DrawTextA(char const *,int,struct tagRECT *,unsigned long,unsigned long) + 34 bytesD3D8D! 00e3c893()  Can anyone help me? This is serious perplexing.   ----flying starfish 