• Advertisement

Archived

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

Direct Screen Access

This topic is 5034 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

In Windows XP with C++, how do I set the screen mode to 800x600x24, and then get a pointer block of memory that I can write directly to and it will show up on the screen? I don''t want any double-buffering or anything else, I do that and all blitting myself. Thanks! - Pete

Share this post


Link to post
Share on other sites
Advertisement
What API are you using?

DirectX?
GDI?
OpenGL?
SDL?

The solution to your answer varies depending on which you use.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Don''t think it''s possible without an API in windows xp...

Share this post


Link to post
Share on other sites
Thanks for your reply!
Right now I''m using GDI to blit my back buffer to the screen, but I made a custom Surface class and blitting function.
All I want is just a block of memory to copy my custom Surface directly to the screen with no in-between steps.

- Pete

Share this post


Link to post
Share on other sites

  • Advertisement