Ray's playground

 

随笔分类 -  COM/COM+

COM Type Information(Chapter 4 of COM and .NET Interoperability)
摘要:When a .NET type attempts to access alegacy COM type, an intermediate object (termed a Runtime Callable Wrapper, or simplyRCW) is responsible for translating between COM types and .NET types. For exam... 阅读全文

posted @ 2010-03-24 20:36 Ray Z 阅读(204) 评论(0) 推荐(0)

A Primer on COM Programming Frameworks(Chapter 3 of COM and .NET Interoperability)
摘要:Mainly talk about ATL. 阅读全文

posted @ 2010-03-24 20:35 Ray Z 阅读(134) 评论(0) 推荐(0)

The Anatomy of a COM Server(Chapter 2 of COM and .NET Interoperability) part2
摘要:The final topic of this chapter is to refresh the role of IDispatch. As you have just seen,C++ and Visual Basic 6.0 are able to exercise early binding when making use of COMtypes. Early binding descri... 阅读全文

posted @ 2010-03-23 21:45 Ray Z 阅读(201) 评论(0) 推荐(0)

Understanding Platform Invocation Services(Chapter 1 of COM and .NET Interoperability) part3
摘要:C++Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1#include"MyCustomCallbackDLL.h"23BOOLAPIENTRYDllMain(HANDLEhModule,4DWORDul_reason_for_call,5LPVOI... 阅读全文

posted @ 2010-03-14 13:37 Ray Z 阅读(241) 评论(0) 推荐(0)

Understanding Platform Invocation Services(Chapter 1 of COM and .NET Interoperability) part2
摘要:[代码]Implementation:[代码]Client Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1#include<windows.h>2#include<iostream>3#include"MyCustomDLL... 阅读全文

posted @ 2010-03-09 22:30 Ray Z 阅读(282) 评论(0) 推荐(0)

Understanding Platform Invocation Services(Chapter 1 of COM and .NET Interoperability) part1
摘要:A traditional C-style DLL is not constructed using the building blocks of COM and does not have the same internal structure as a .NET binary. Rather, unmanaged DLLs contain some set of global function... 阅读全文

posted @ 2010-03-08 22:08 Ray Z 阅读(207) 评论(0) 推荐(0)

C++ call COM written in C#
摘要:[代码][代码] 阅读全文

posted @ 2009-10-19 21:39 Ray Z 阅读(303) 评论(0) 推荐(0)

C# COM+ Programming Chapter 4(Transactions)
摘要:Transactions are one of the cornerstone services of COM+.Any transaction, whether it is a COM+ transaction or not, must have four basic characteristics to be a transactional system.AtomicConsistentIso... 阅读全文

posted @ 2009-09-20 21:25 Ray Z 阅读(222) 评论(0) 推荐(0)

导航