开发者

Is it possible to hook into GDI+ and save all strings sent to DrawString?

开发者 https://www.devze.com 2022-12-14 19:05 出处:网络
I need to get a large table (300K+ rows) from an application and there is no export function. After a lot of unsuccessful attempts I\'m left with a Copy Paste macro that goes one row at a time. If the

I need to get a large table (300K+ rows) from an application and there is no export function. After a lot of unsuccessful attempts I'm left with a Copy Paste macro that goes one row at a time. If there is a way to get the strings as they are drawn I coul开发者_如何学God get a page(40 rows) at once.


If you aren't doing this for commercial purposes, you can use Detours to hook into drawstring really easily. There are some examples using detours on CodingTheWheel's blog series on a pokerbot. Even if the Detours option is unavailable, there is tons of information on windows api hooking on the web.

0

精彩评论

暂无评论...
验证码 换一张
取 消