原文:C#获取远程计算机硬件信息实例(支持linux和windows)网上关于WMI的资料很多,但一直没有比较全的属性介绍.今天通过反射把所有属性都给弄出来了.关于WMI的代码就不多说了.需要手动添加引用:System.Management/// ///获取查询队列 /// /// /// /// ...
分类:
Windows程序 时间:
2014-07-07 17:18:01
阅读次数:
1014
program Demo1;{ Create Date: 2014-06-29 Author: P.S.M 1.接口Demo1}{$APPTYPE CONSOLE}uses SysUtils;{定义接口}type ITestInterface = interface {GUID通过CTR...
分类:
其他好文 时间:
2014-07-07 14:02:00
阅读次数:
177
Problem A: GuessTime Limit:1 SecMemory Limit:32 MBDescriptionIn the television program "Shopping Street" of CCTV-2, two people, A and B are guessing t...
分类:
其他好文 时间:
2014-06-30 23:24:47
阅读次数:
220
网络上已经有篇关于openfire导入到Intellij Idea的文章(http://www.th7.cn/Program/java/201404/187018.shtml),不过在我导入的过程中,感觉还可以再简化一些,所以重新整理如下(需要预先已经安装了Java SDK,这里我用的是SDK1.7...
分类:
其他好文 时间:
2014-06-30 22:52:15
阅读次数:
397
一、 创建互斥对象 在工程project1.dpr中创建互斥对象Program project1UsesWindows,Form,FrmMain in 'FrmMain.pas' {MainForm}; {$R *.res} var hAppMutex: THandle; //声明互斥变量 begi...
分类:
其他好文 时间:
2014-06-30 13:51:47
阅读次数:
176
之前装完了QTP,现在继续loadrunner,小月月一直前进在软件安装的道路上...本方法的前提是已经成功安装loadrunner11。1. 下载破解文件lm70.dll和mlr5lprg.dll lm70.dll文件,覆盖x:\Program Files\Mercury\LoadRunne...
分类:
其他好文 时间:
2014-06-30 13:20:00
阅读次数:
174
Recently, I needed to call a CUI program from within Qt GUI window and simulate the effect of an embedded command line window like the Autolisp consol...
分类:
其他好文 时间:
2014-06-30 12:45:02
阅读次数:
1252
Previously, I thought the debugging functionality provided by gdb for Fortran program was quite limited due to experiences of a couple of failed attem...
分类:
数据库 时间:
2014-06-30 12:34:51
阅读次数:
367
上次我们说到了linq对数组内容的检索,自.net2.0以后,泛型成了很常见的一种应用技术,linq对泛型的检索也提供了完善的支持如对list类型的支持,范例如下: class Program { static void Main(string[] args) { List samplebooks ...
分类:
其他好文 时间:
2014-06-30 11:30:12
阅读次数:
125
GNU Autotools will be considered as the ideal tool to manage Fortran project after creating a basic program structure by using Eclipse IDE. Eclipse ID...
分类:
其他好文 时间:
2014-06-29 19:40:49
阅读次数:
378