-
May 21st, 2015, 09:54 AM
#1
Thread Starter
Fanatic Member
Capture handler for windows using API
Hi
How can I to capture the handle of the window (control) , I tried using SPY++ no returned class name , only static
-
May 21st, 2015, 10:09 AM
#2
Re: Capture handler for windows using API
Does have a class name: Static is a valid, system, class name
https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx
-
May 21st, 2015, 10:38 AM
#3
Thread Starter
Fanatic Member
Re: Capture handler for windows using API
Originally Posted by LaVolpe
Thank you
I need to get the data inside control, what best way to do it ?
Tia
-
May 21st, 2015, 10:47 AM
#4
Re: Capture handler for windows using API
OCR? If the entire window is a static control, that likely means that it is custom drawn (similar to a grid drawn on a picturebox). If the control does not offer any messages (to be used with SendMessage API) to retrieve data/info, nothing that helps comes to mind
-
May 21st, 2015, 11:00 AM
#5
Thread Starter
Fanatic Member
Re: Capture handler for windows using API
Originally Posted by LaVolpe
OCR? If the entire window is a static control, that likely means that it is custom drawn (similar to a grid drawn on a picturebox). If the control does not offer any messages (to be used with SendMessage API) to retrieve data/info, nothing that helps comes to mind
Ok, thank you
-
May 21st, 2015, 01:35 PM
#6
Re: Capture handler for windows using API
That's one of the few legitimate purposes for reading a memory address of an external application.
I happen to be writing a memory reading wrapper DLL for this on github (should take a few more days to make it function)
which does all the internals for you (feel free to contribute)
using\googling about ReadProcessMemory will probably get you faster if all you want is reading a text content.
Last edited by stum; May 21st, 2015 at 01:39 PM.
Tags for this Thread
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
|