Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Error on Adapter

This topic is 5127 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

the problem is with DX tutorials (C++), everytime you run the program, it doesnt go smooth when you try to minimize or Alt+Tab.. the computer slows down and receives an error about the device adapter.. I think the device should stop rendering while the window is minimized or not in focus.. ryt? i have DX9 installed and runnig DX8 tutorials.. how can i solve this problem? thanks for the help [edited by - Superpig on May 7, 2004 9:07:34 AM]

Share this post


Link to post
Share on other sites
Advertisement
You should use the WM_SETFOCUS and WM_KILLFOCUS messages to determine when your app is in or out of focus. As for the error, that''s because the device is getting "lost". Read the SDK docs on lost devices for more info.


"Sneftel is correct, if rather vulgar." --Flarelocke

Share this post


Link to post
Share on other sites
You could create a new application with the DirectX AppWizard to see how it implements the WM_ messages Sneftel mentions.

-JJ

-----------------------------
Jan-Jaap Severs
Programming / Design
Grendel Games

[ Grendel Games ]

Share this post


Link to post
Share on other sites
thanks... I think Im gonna dfo that appwizard thing.. and see how it works...

as for the drivers, can it be possible that its because of the video card driver? my card is NVDIA GeForce2 MX 200 with neForce Drivers installed....

or its plain and simple code... becuase even the Documentation tutorials gets the error... thanks

Above them all is Truth and Truth must be set free. If the wings of Truth are unclipped, the voices will fall silent

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!