是否可以挂接到 GDI+并保存发送到 DrawString 的所有字符串?
我需要从应用程序获取一个大表(300K+ 行),并且没有导出功能。 经过多次不成功的尝试后,我留下了一个每次一行的复制粘贴宏。如果有一种方法可以在绘制字符串时获取它们,我可以一次获取一页(40 行)。
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 could get a page(40 rows) at once.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您这样做不是出于商业目的,则可以使用Detours很容易挂入拉绳。 CodingTheWheel 的博客系列中有一些在扑克机器人上使用绕道的示例。即使 Detours 选项不可用,也有大量关于 windows api hooking< 的信息/a> 在网络上。
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.