Archived

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

CGameProgrammer

DDERR_HWNDALREADYSET

Recommended Posts

When I enter fullscreen mode with DirectDraw, destroy DirectDraw, recreate my window, recreate DirectDraw, and try to reenter fullscreen mode, SetCooperativeLevel returns the error DDERR_HWNDALREADYSET. Anyone know what can cause this? All surfaces were freed and later recreated, including the DirectDraw object itself. The window was destroyed and a new one created. Don''t ask me why I do this, but I need to for other purposes. ~CGameProgrammer( );

Share this post


Link to post
Share on other sites