Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

SetCooperativeLevel INVALID_PARAMS

4: Adsense

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   

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?

#2 Akura   Members   

130
Like
Likes
Like

Posted 26 January 2000 - 04:05 PM

isntead of NORMAL use DDSCL_NORMAL )



#3 eilenbeb   Members   

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.