Archived

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

eilenbeb

SetCooperativeLevel INVALID_PARAMS

Recommended Posts

eilenbeb    122
bad place for a hangup. i am set up like this: LPDIRECTRAW4 lpDD LPDIRECTRAW4 DDtemp IDirectDrawCreate null,&DDtemp,null (works fine) IUnknown_QueryInterface DDtemp,&IID_IDirectDraw4,&lpDD (works fine) IDirectDraw4_SetCooperativeLevel lpDD,hwnd,flags setcooperativelevel works with flags == NORMAL. returns INAVLID_PARAMS. ANYBODY HAVE ANY IDEAS?

Share this post


Link to post
Share on other sites
eilenbeb    122
sorry, my previous post lost a few lines / words.
i am using the proper flags (DDSCL_)
i don''t know why it won''t set exclusive / fullscreen.
it accepts normal just fine, but then it acts like
exclusive and fullscreen are unrecognised.
they''re both properly defined, straight out of the dxsdk.
normal is the only ddscl flag that causes DD_OK o be returned.

Share this post


Link to post
Share on other sites