SetCooperativeLevel INVALID_PARAMS
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?
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement