当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 每个程序都有自己的生存空间,在Windows系统中你可以在任何时候让你的程序执行一些操作,还可以触发消息,触发的消息分为三种,一是操作你程序的界面,onClick,onMouseMove等等,另外一个可以使用Windows的消息机制来捕获一些系统消息,但是如果你想在任何时候监控任何程序的情况那...
 

 

 ·用 delphi 下载网页    »显示摘要«
    摘要: 新建一个工程,放上一个tidhttp控件,一个tidantifreeze控件,一个tprogressbar用于显示下载进度。最后放上一个tbutton用于开始执行我们的命令。代码如下: procedure tform1.button2click(sender: tobject);var mystream:tmemorystream;begin idantifreeze1.on......
    摘要: 学了十多天的delphi,感觉这是易上手好应用。在这里把最基本的知识的总结出来。 一、数据类型:(1) 基本数据类型: a、 整数类型: (通用类型<32位>:integer-有符号;cardinal-无符号) 具体: 有符号:shortint<8位>,smallint<16位>,longint<32位 > 无符号:byte<8位>,......


使用HOOK随心监视Windows

每个程序都有自己的生存空间,在windows系统中你可以在任何时候让你的程序执行一些操作,还可以触发消息,触发的消息分为三种,一是操作你程序的界面,onclick,onmousemove等等,另外一个可以使用windows的消息机制来捕获一些系统消息,但是如果你想在任何时候监控任何程序的情况那可能你就会选择hook来实现了,虽然还有其他方法,但不得不承认,hook是一个比较简单解决问题的途径.

【程序编程相关:使TStringGrid自适应宽度

【推荐阅读:delphi小技巧集锦

windows提供了hook机制,定义为 【扩展信息:对使用Delphi制作DLL复用文件的建

a callback function provided by an application that receives certain data before the normal recipient of the data. the hook function can thus examine or modify the data before passing it on.

可以使用诸多hook的方式,一下列举一些常用的参数,这些在windwos api帮助中都有:

callwndproc ,callwndprocret :

the wh_callwndproc and wh_callwndprocret hooks enable you to monitor messages sent to window procedures by the sendmessage function. windows calls a wh_callwndproc hook procedure before passing the message to the receiving window procedure, and calls the wh_callwndprocret hook procedure after the window procedure has processed the message.

cbt:


...   下一页
    摘要: 风焱在《“18般武艺”?》中说到他碰上的被多种语言纠缠的问题。我在回复里说: 很多语言只要能看懂几分就行了,没必要每一种都精通 但是如果只会很少的一两种语言也是不行的。 因为看了一些关于java的反射技术的应用,忽然想到delphi的rtti也很强,于是试着拿数据集下手,用rtti来实现它的对象化。用了两个晚上时间就搞定了(要不是因为开始时搞错对象--基类用了tobje......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE