Jump to content
  • Advertisement
Sign in to follow this  
noviceprogmr84

Automated screen shot

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

Hi, I'm running a simulation, and was trying to get it to take automated screen shot at certain points. I'm using Windows Vista and source code in C++, can anyone help with source code or anything? Keep in mind I have no experience with the Windows API. Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
Hey, I had a quick look at your profile and see your using VC++ Express. Are you compiling with /clr ? (like are you using managed c++?)

if so then this will be useful. it's written in C# but you should be able to change it quite easily into C++/CLI.

Alternatively you could look into emulating the user pressing the print screen key by calling the SendInput() windows API function (i think the only way of emulating keypresses that Vista supports) and sending VK_SNAPSHOT as the key pressed.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!