冠冕堂皇

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

随笔分类 -  日记

摘要:装了VC6,发现无法打开项目,据说与Office2007有关。我的xp和win7都是office2010,看来也是此问题。相关文件本地下载:FileTool.dll FileTool VC6源码解决(来自msdn):FileTool.exe 替换 Visual C++ 的"打开"和"添加到项目中"的功能:使用键盘快捷键或从文件菜单启动 Visual C++ 中的打开文件对话框将导致以下错误:Access Violation (0xC0000005) in DEVSHL.DLL at 0x5003eaed.DevShl.Dll referenced mem 阅读全文
posted @ 2013-05-30 11:54 冠冕堂皇 阅读(580) 评论(0) 推荐(0)

摘要:1、获取进程信息 代码:Process[] processes = Process.GetProcesses(); long totalMemery = 0; StringBuilder sbResult = new StringBuilder(); foreach (Process process in processes) { ... 阅读全文
posted @ 2012-06-07 18:10 冠冕堂皇 阅读(210) 评论(0) 推荐(0)

摘要:1、StopWatch(秒表)类提供一组方法和属性,可用于准确地测量运行时间。Provides a set of methods and properties that you can use to accurately measure elapsed time.在典型的 Stopwatch 方案中,先调用 Start 方法,然后调用 Stop 方法,最后使用 Elapsed 属性检查运行时间。S... 阅读全文
posted @ 2012-06-06 12:57 冠冕堂皇 阅读(244) 评论(0) 推荐(0)

摘要:1、SSPISecurity Support Provider InterfaceSQL SERVER的集成验证方式。Integrated Security=SSPI与Integrated Security=true是一个意思。都是采用windows身份验证。详见:http://hi.baidu.com/yjh6016/item/1eb9be9978718edb7a7f01412、lambda 运算符["=>"] delegate void OutHandler(out int x); static void Print(OutHandler test) { int 阅读全文
posted @ 2012-06-05 18:20 冠冕堂皇 阅读(165) 评论(0) 推荐(0)