停灯向晓  
10 2011 档案
  • 使用advapi32.dll来启动、停止服务(c#)
    摘要:/* from: http://xiaoou2002.blog.163.com/blog/static/21586669201081634323740/*/注1:代码中的IntPtr可以改为int注2:ServiceName需要取service name,而不是display nameusingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Runtime.InteropServices;namespaceWindowsService2{publicclassInstallUtil{#regionDLLIm 阅读全文
    posted @ 2011-10-28 11:26 kofkyo 阅读(1034) 评论(0) 推荐(0)
  • 文件被数字签名策略拒绝(File was rejected by digital signature policy)
    摘要:/* from: http://www.cnblogs.com/Magicworks/archive/2008/07/06/1236817.html*/今天在安装Windows Mobile 6 Professional SDK Refresh.msi 的时候,碰到一个错误"文件被数字签名策略拒绝(File was rejected by digital signature policy) ",可能在安装 Visual Studio 2005 SP1 的时候,也有人碰到过这个错误.这个错误产生的原因是:"当运行安装程序时,Windows Installer 会验证 阅读全文
    posted @ 2011-10-24 15:00 kofkyo 阅读(199) 评论(0) 推荐(0)
  • Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor
    摘要:/* from: http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/01/31/unable-to-connect-to-the-microsoft-visual-studio-remote-debugging-monitor.aspx */Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named 'DOMAIN\USER@MACHINENAME'. The Visual Studio Remote 阅读全文
    posted @ 2011-10-17 14:03 kofkyo 阅读(633) 评论(1) 推荐(0)