无痕客

落花无情,流水无痕……

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

随笔分类 -  .NET互操作

使用P/Invoke调用Windows API;使用COM Interop实现托管代码与COM交互
摘要:Embedding Google Earth in a C# ApplicationBy Joseph Armbruster | 8 Dec 2008 How to embed the Google Earth scene in a C# application.IntroductionIf you're interested in utilizing the Google Earth viewe... 阅读全文
posted @ 2010-10-18 22:22 无痕客 阅读(769) 评论(0) 推荐(0)

摘要:关于部分WIN32 API 在WIN 7下失效的问题,FindWindow 、FindWindowEX、SendMessage等对无窗体的程序进程无效。 阅读全文
posted @ 2010-06-20 20:44 无痕客 阅读(7643) 评论(2) 推荐(0)

摘要:屏幕录像功能技术探索及分享,实现在二次开发中软件具有屏幕录像功能 阅读全文
posted @ 2010-06-19 17:18 无痕客 阅读(7765) 评论(6) 推荐(7)

摘要:The ShutDown Alarm By ThatsAlok This application does shutdown, restart, logoff and power off on a given computer at a given time. It works on all OSs. Sorry for the last post... now this code has no missing file or exe. 学习使用WIN32 API编程 阅读全文
posted @ 2010-06-07 21:45 无痕客 阅读(640) 评论(1) 推荐(0)

摘要:C# Voice and Tone Alert Generator(转载) 阅读全文
posted @ 2010-05-11 23:06 无痕客 阅读(1516) 评论(0) 推荐(0)

摘要:一个Win32 API实例类,该类功能包括:同一程序禁止启动多次;获取任意窗体;恢复窗体状态;设置窗体焦点 阅读全文
posted @ 2010-04-13 20:57 无痕客 阅读(1877) 评论(0) 推荐(0)

摘要:DLL injection 阅读全文
posted @ 2010-01-31 01:18 无痕客 阅读(1724) 评论(0) 推荐(0)

摘要:Download source files - 69 KbDownload demo project - 139 Kb Introduction Intercepting Win32 API calls has always been a challenging subject among most of the Windows developers and I have to admit, it... 阅读全文
posted @ 2010-01-31 00:45 无痕客 阅读(660) 评论(0) 推荐(0)

摘要:Marshaling between Managed and Unmanaged Code 是篇好的.NET互操作文章,里面介绍了 P/Invoke Interop Assistant工具。 阅读全文
posted @ 2010-01-24 12:09 无痕客 阅读(1283) 评论(0) 推荐(0)

摘要:.NET 4.0 Interop新特性ICustomQueryInterface 阅读全文
posted @ 2010-01-23 11:53 无痕客 阅读(654) 评论(0) 推荐(0)

摘要:(1)P/Invoke Interop Assistantl 光盘位置Tools\PInvoke Interop Assistantl 工具描述该开源工具能够给开发者使用P/Invoke带来极大的方便。使用该工具,就可以直接为某个指定API生成对应的C#或VB.NET的声明代码,以供开发者直接使用。这样就可以把开发人员从编写非托管函数原型的繁杂工作中解放出来,这无疑提高了工作效率,而且还减少了出错... 阅读全文
posted @ 2010-01-23 11:16 无痕客 阅读(1577) 评论(0) 推荐(1)

摘要:C#4.0新特性对.NET互操作的影响 阅读全文
posted @ 2010-01-23 11:00 无痕客 阅读(803) 评论(0) 推荐(0)

摘要:自己之前对WIN API编程一直是望而生畏,没有信心和毅力去学习。但是进行Windows编程人员或多或少地会遇到或使用到WIN API。无论你是JAVA或NET程序员,都是间接使用了WIN API,两个运行环境只是对WIN API进行了一层不同的封装而已。  《精通.NET互操作》深入讲解了P/Invoke, C++ Interop 和COM Interop。由于该书讲解较深,有点枯燥,我每次也就... 阅读全文
posted @ 2010-01-16 13:01 无痕客 阅读(7692) 评论(0) 推荐(0)