Skip to main content
gamedev.net
🔒 Locked

Opening DirectX Window

Started by Nazmir Jan 5, 2001 at 6:15 PM 2 replies 600+ views
Original Post
Nazmir
Nazmir
Is there a reason why after I intialize my DirectX window and open it that it brings back up the windows desktop again. The window does get initialized but it won''t just stay a blank screen. Any thoughts as to why this is happening. Nazmir
Peon
Peon
Posting the code would help but a few things to check (cuz I''m at the same point hehe

-Make sure you don''t have a return(0) or something at the wrong place.

- I don''t know what you call it, but if you do something like lpdd->QueryInterface(......) make sure the next time you do something, like lpdd4->SetCooperativeLevel(....) that you''re using the right one (ie: lpdd vs lpdd4)

Wow that wasn''t very clear. Post your code and I can do a better job

Peon
Peon

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.