SetCooperativeLevel INVALID_PARAMS

Started by
1 comment, last by eilenbeb 24 years, 2 months ago
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?
eilenbeb@adninternet.com
Advertisement
isntead of NORMAL use DDSCL_NORMAL )

It's good to be an outcast, you don't need to explain what you do, you just do it and say you don't belong there.
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.
eilenbeb@adninternet.com

This topic is closed to new replies.

Advertisement