论坛


2011年1月4日 星期二

Delphi XE的RTTI增强,动态Hook某些内部事件

不得闲| 得闲笔记 |22:50:00

Delphi2010之后的RTTI做了很大休整,现在用起来很爽了哦。甚至可以获取某些类的内部私有单元,然后为其赋值!讲这个RTTI增强的,可以参考网上的多个博客内容,我列举一下:Delphi2010RTTI的增强Delphi的Anymouse方法探秘万一的Rtti系列我这里的主要目的是挂钩某些内?..

学用 ASP.Net 之 System.TimeSpan 结构

万一| 万一的 Delphi 博客 |14:13:00

TimeSpan 表示一个时间间隔, 如:protected void Button1_Click(object sender, EventArgs e) { DateTime dt1 = new DateTime(2010, 1, 2, 3, 4, 5); DateTime dt2 = new DateTime(2011, 6, 6, 6, 6, 6); TimeSpan ts = dt2 - dt1; TextBox1.Text =...

Get The Name Of The Windows OS Installed on a Machine

About.com| About.com Delphi Programming |05:05:26

inOLE Examples:: Windows Management Instrumentation (WMI) is the infrastructure for management data and operations on Windows-based operating systems. You can use Delphi to communicate with WMI by using ...Read Full Post