﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-Cup-随笔分类-问题求解visual C++ 6.0</title><link>http://www.cppblog.com/Cup/category/10870.html</link><description /><language>zh-cn</language><lastBuildDate>Sat, 20 Jun 2009 15:21:14 GMT</lastBuildDate><pubDate>Sat, 20 Jun 2009 15:21:14 GMT</pubDate><ttl>60</ttl><item><title>游戏外挂(请大家指教)</title><link>http://www.cppblog.com/Cup/archive/2009/06/17/87914.html</link><dc:creator>Cup</dc:creator><author>Cup</author><pubDate>Wed, 17 Jun 2009 14:29:00 GMT</pubDate><guid>http://www.cppblog.com/Cup/archive/2009/06/17/87914.html</guid><wfw:comment>http://www.cppblog.com/Cup/comments/87914.html</wfw:comment><comments>http://www.cppblog.com/Cup/archive/2009/06/17/87914.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/Cup/comments/commentRss/87914.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/Cup/services/trackbacks/87914.html</trackback:ping><description><![CDATA[
		<p>前不久在网上看到一篇文章说能做一个连连看的外挂.听起来感觉不错但是自己坐起来不知道从何下手.<br />我有一个简单的思路就是:<br />1、先得到游戏窗口的句柄；<br />2、然后做图片比较，如果图片不相同继续比较下一幅图片<br />      如果两幅图片相同；再判断两幅图片是否连通；<br />3、如果图片连通，就向这两个图片所在的矩形区域发送两个鼠标单击消息；知道图片全部消失；<br /><br /><br />没有解决的问题：<br />1、得到了窗口的handle，但是我用spy++查看过游戏界面的消息；就是没有看到有鼠标单击的消息.只有一些看不懂的消息;<br />2、我得到了这个窗口。怎样才能得到游戏窗口的图片？<br />3、如何向窗口中的指定区域发送鼠标单击消息呢？<br />4、如何判断两幅图片是否能相连而消失呢？<br /><br /><br /><br />请大家帮帮忙，谢谢啦！</p>
<img src ="http://www.cppblog.com/Cup/aggbug/87914.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Cup/" target="_blank">Cup</a> 2009-06-17 22:29 <a href="http://www.cppblog.com/Cup/archive/2009/06/17/87914.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>