
Windows
ZXFC88
这个作者很懒,什么都没留下…
展开
-
C#创建Windows服务与安装
参考这两篇文章即可https://blog.youkuaiyun.com/xiaoguidangjiajia/article/details/52371354http://www.cnblogs.com/eadily-dream/p/6053552.html https://www.cnblogs.com/lanyubaicl/p/5825382.html转载 2018-10-31 16:02:34 · 248 阅读 · 0 评论 -
vs2017报错:托管调试助手 "NonComVisibleBaseClass"。。。。。。
托管调试助手 "NonComVisibleBaseClass":“执行了 QueryInterface 调用,请求提供 COM 可见的托管类“MS.Internal.AutomationProxies.WindowsButton”的类接口。不过,由于该类是从非 COM 可见的类“MS.Internal.AutomationProxies.ProxyHwnd”派生的解决方法:调试--...原创 2019-03-13 17:24:59 · 3482 阅读 · 0 评论 -
C#使用全局钩子(hook),SetWindowsHookEx返回0、不回调的解决
使用WINDOWS API函数代替获取当前实例的函数:用:[DllImport("kernel32.dll")]public static extern IntPtr GetModuleHandle(string name);GetModuleHandle(Process.GetCurrentProcess().MainModule.ModuleName)代替:Marshal.Get...原创 2019-04-12 11:13:44 · 1496 阅读 · 2 评论