-
December 16th, 2008, 10:36 AM
#1
screengrap of desktop
Hi
I use a java applet which displays live stockmarket information, and I want to be able to analyse those prices in a C++ program.
Rather than trying to decompile that applet I think that an easier solution will be to make screen grabs of the desktop and perform a really simple optical character recognition on the resulting bitmap.
My problem is that I do not know how to perform the screen grabs. After some googling it seems that I need to use the function GetDesktopWindow() and the data type HBITMAP, but I'm non the wiser on how to put this together. If I do manage to make a succsessful screen grap to a HBITMAP I will then need to know how HBITMAP stores the image so that I can access the pixels and perform my OCR.
If it is possible I just want to write a consol application as this is all I'm familiar with, I have virtually no experience with visual programs.
Thanks in advance for your help
Paul
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|