上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 49 下一页
摘要: 最近遇到了一个比较麻烦的问题,一直也没找到很好的解决方案。问题:既要获取网卡利用率,又要获取网卡连接速度解决方案:获取网卡利用率通过PDH库可以获取网卡的传输率等信息。获取网卡连接速度1. 使用WMI查询2. 使用IP helper接口3. 使用NetMonitor接口4. 查注册表这里麻烦的地方就是,因为如果通过PDH获取到利用率之后,我们只能获得到网卡的静态信息只有这个Network inte... 阅读全文
posted @ 2009-09-25 23:47 moonz-wu 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 最近看到MS已经发布了VS2010 beta版,忍不住下载下来体验一番。的确界面比前几版改进了不少,不仅仅是界面,内容也增加了不少。最引起我注意的是里面有个叫F#的家伙。什么语言?以前听过D语言,没想到现在都到F了(哈哈,好傻的推论)。随后上网搜了一顿,发现这个叫F#好像相当的不错,特别强调这是一种函数式编程语言。我对什么是函数式编程不是很了解,所以也想学习学习。终于,功夫不负有心人,找到了一本Expert F#的电子版。好像这本书就是F#的设计者写的,我想应该不错。今天尝试了书里的第一个例子程序,没想折腾了我半天。程序就是我上一篇的博客。强调一下我没有使用VS2010来F#进行开发,因为VS 阅读全文
posted @ 2009-09-01 00:24 moonz-wu 阅读(470) 评论(0) 推荐(0) 编辑
摘要: Copy the first demo program from Expert F# to VS2008. There has a compiler error with split function when I compiler the program. I found a solution from internet likes below:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Listing2-1.Analyzing 阅读全文
posted @ 2009-08-26 23:30 moonz-wu 阅读(324) 评论(0) 推荐(0) 编辑
摘要: Igot a training about the CMMI from colleague in theteam meeting at yestoday . I heared the CMMI long time ago, but it is the first time start to learn it. What's the CMMI? The offiical definition is Capability Maturity Model Integration. It is a way to evaluate the produce ability of software c 阅读全文
posted @ 2009-07-18 07:20 moonz-wu 阅读(556) 评论(0) 推荐(0) 编辑
摘要: 从网上找来的一段查询表属性的SQL代码SELECT --TableName=CASE WHEN C.column_id=1 THEN O.name ELSE N'' END,--TableDesc=ISNULL(CASE WHEN C.column_id=1 THEN PTB.[value] END,N''),Column_id=C.column_id,ColumnName=C.name,PrimaryKey=ISNULL(IDX.PrimaryKey,N''),[IDENTITY]=CASE WHEN C.is_identity=1 THEN 阅读全文
posted @ 2009-06-18 23:24 moonz-wu 阅读(1398) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 49 下一页