I am having a problem with a windows console application on an NMR imaging instrument. The software is a console that takes control of the user’s screen. The problem is that the saving of the data we need causes crashes commonly. The program is not open source and specific to the scanner. I cannot replace the computer or change the operating system – it is an instrument used by others too who do not use the same imaging technique that I do. What works is taking screenshots every so many seconds and processing them, although this is a horrible time consuming method. I already have written a converter that reads the part of a BMP which contains data and convert to a workable format and store it in a separate file.
What I think will work is the following:
Automatically make a screenshot just as if the key has been pressed every so many seconds
Access the image in the clipboard (.BMP I suppose, hence the data is accessible easily)
Append to file (I already have the code that will do this)
However, I do not use windows so much and have no idea how to make screenshots from software and access the clipboard other than pressing ctrl-v in the paint program. Can anyone help me out here?
Reply