14 Jul 2010 at 22:19 #1 Moley Moley Soldato Joined 29 Aug 2006 Posts 4,269 Location In a world of my own Does anyone know how to program an application (c or c# preferably) that can hook into other windows and scan the contents for strings? If anyone can point me to some source code I would be most appreciative.
Does anyone know how to program an application (c or c# preferably) that can hook into other windows and scan the contents for strings? If anyone can point me to some source code I would be most appreciative.
14 Jul 2010 at 22:29 #2 brainchylde brainchylde Associate Joined 5 Feb 2009 Posts 424 You could use some OCR if the strings are always located in the same location on the screen? In which case you could try tesseract-ocr. I guess you are trying to do some sort of poker-client scraper. See -> http://www.codingthewheel.com/archives/deconstructing-the-poker-client-1 http://msdn.microsoft.com/en-us/magazine/cc163617.aspx and http://stackoverflow.com/questions/375117/screen-scraping-a-windows-application-in-c good luck
You could use some OCR if the strings are always located in the same location on the screen? In which case you could try tesseract-ocr. I guess you are trying to do some sort of poker-client scraper. See -> http://www.codingthewheel.com/archives/deconstructing-the-poker-client-1 http://msdn.microsoft.com/en-us/magazine/cc163617.aspx and http://stackoverflow.com/questions/375117/screen-scraping-a-windows-application-in-c good luck