Jump to content

  • Log In with Google      Sign In   
  • Create Account


SetCooperativeLevel INVALID_PARAMS


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 eilenbeb   Members   -  Reputation: 122

Like
Likes
Like

Posted 26 January 2000 - 03:56 PM

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?

Sponsor:

#2 Akura   Members   -  Reputation: 130

Like
Likes
Like

Posted 26 January 2000 - 04:05 PM

isntead of NORMAL use DDSCL_NORMAL )



#3 eilenbeb   Members   -  Reputation: 122

Like
Likes
Like

Posted 27 January 2000 - 02:49 AM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS