delphi – Is there a way to get a VCL Control’s name through the windows API? – Stack Overflow
Posted by jpluimers on 2014/05/29
Thanks Samaliani for posting a Delphi GetWinControlName function as answer to Is there a way to get a VCL Control’s name through the windows API?
The cool thing: it works across processes (as long as your own process has ReadProcessMemory rights).
It works from Delphi XE3 and up.
Be sure to also read the comments by Danny Thorpe on the automation framework in Delphi: that might also be a good place to get this information from.
–jeroen
via: delphi – Is there a way to get a VCL Control’s name through the windows API? – Stack Overflow.






Delphi multithreading and DLL exports: watch your exceptions (via: Stack Overflow) « The Wiert Corner – irregular stream of stuff said
[…] jpluimers on delphi – Is there a way… […]
David Heffernan said
There is no automation framework in Delphi. Danny is referring to an internal Borland project. The ReadProcessMemory hacking that you refer to is not really fit for use. Would you really use it? I think I’d opt for the automation API.
jpluimers said
For bug hunting I might use the ReadProcessMemory solution.
For end-users, I’m not sure yet. It’s on my research back-log.