-
使用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
阅读全文
-
文件被数字签名策略拒绝(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 会验证
阅读全文
-
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
阅读全文
|