软讯网络 > 编程语言 > Delphi > Common Function VCL component
【标 题】:Common Function VCL component
【关键字】:
c,C,VC,io,com,Function,on,Com,VCL,Common,mm,Common,Function,VCL
【来 源】:网络
Common Function VCL component
分 类:杂项
语 种:简体中文
编辑器:DELPHI7
平 台:Win9x,Win2k/NT,WinXP
作品源代码: 本地下载
软件或演示: -
代码大小: 15.9K
软件大小: -

本人自制的一个小控件,将一些常用的功能封装起来,目的就是为了用着方便。本人初学,水平不高,大家见笑了!
功能说明:
啥属性什么的,事件什么的,全都没有,是个非可视控件。能干以下几件事:
GetDisplayFrequency: Integer; //获取显示刷新率
GetIdeSerialNumber: String; //获取第一个硬盘的序列号
GetCPUSpeed: Double; //获取当前CPU速率
GetCPUID:string; //获取CPU ID
GetCPUVendor: string; //获取CPU 类型
GetPYIndexChar(hzchar:string):char; //获取汉字的拼音的首字母
GetMyComputerName:string; //获取本地计算机名
GetFileLastAccessTime(sFileName:string):TDateTime; //获取文件最后访问日期和时间
GetFileCreateTime(const strFileName:string):TDateTime; //获取文件创建时间
GetFileModifyTime(const strFileName:string):TDateTime; //获取文件修改时间
GetIP(DNSName:String):String; //把域名转化为IP地址(需要连接网络)
GetDNSName(IPAddress:String):String; //把IP地址转化为域名(需要连接网络)
就这些了,本来还想再加点什么的,一时也想不起来,算了,以后再说吧!
安装方法:
在Delphi7中open那个CFnSgn70.dpk文件,然后install,OK!
|