找回密码
 立即注册
COM文件interfaceDllGetClassObjec | 汽车电子软硬件开发 2022-09-29 138 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
COM技术初探(一)目录一.COM是一个更好的C++1.COM是什么2.从C++到DLL再到COM2.1C++2.2DLL2.3COM二.COM基础1.COM基本知识1.1返回值HRESULT1.2初识idl1.3IUnkown接口2.一个比较简单的COM2.1interface.h文件2.2math.h文件2.3math.cpp文件2.4simple.cpp文件2.5Math组件的二进制结构图2.6小结三.纯手工创建一个COM组件1.从建工程到实现注册1.1创建一个类型为win32dll工程1.2定义接口文件1.3添加注册功能1.3.1添加一个MathCOM.def文件1.3.2DllRegisterServer()和DllUnregisterServer()1.4MathCOM.cpp文件1.5小结2.实现ISmipleMath,IAdvancedMath接口和DllGetClassObject()2.1实现ISmipleMath和IAdvancedMath接口2.2COM组件调入大致进程2.3DllGetClassObject()实现2.4客户端2.5小结3.类厂附录A我对dll的一点认识一.没有lib的dll本资料共包括以下附件:
COM技术初探.pdf
包括多个文件,请自行下载检测!

(A Preliminary Study of COM Technology (1) Contents 1. COM is a better C   1. What is COM 2. From C   to DLL to COM2.1C  2.2DLL2.3COM2.COM Basics 1.COM Basics 1.1 Return value HRESULT1.2 First acquaintance with idl1.3IUnkown interface 2. A relatively simple COM2.1interface.h file 2.2math.h file 2.3math.cpp file 2.4simple.cpp file 2.5The binary structure of the Math component 2.6 Summary 3. Pure Manually create a COM component 1. From the construction of the project to the realization of registration 1.1 Create a type of win32dll project 1.2 Define the interface file 1.3 Add the registration function 1.3.1 Add a MathCOM.def file 1.3.2DllRegisterServer() and DllUnregisterServer()1.4MathCOM.cpp Document 1.5 Summary 2. Implement ISmipleMath, IAdvancedMath interface and DllGetClassObject() 2.1 Implement ISmipleMath and IAdvancedMath interface 2.2 COM component calls the general process 2.3 DllGetClassObject() implementation 2.4 Client 2.5 Summary 3. Class Factory Appendix A My little understanding of dll 1 .dll without lib This document includes the following attachments:
A Preliminary Study of COM Technology.pdf
Including multiple files, please download and test by yourself!)

[下载]11350550233.rar




上一篇:Java深度历险
下一篇:《疯狂Ajax讲义》作者李刚-1