A preliminary study of COM technology

xiaoxiao2021-03-05  31

I. COM is a better C 1. COM is from C to DLL to COM 2.1 C 2.2 DLL 2.3 COM 2. COM Basics 1. COM Basic Knowledge 1.1 Return Value HRESULT 1.2 First Idl 1.3 IUNKOWN interface 2 A relatively simple COM 2.1 interface.h file 2.2 Math.h file 2.3 Math.cpp file 2.4 Simple.cpp file 2.5 math component binary structure Figure 2.6 Small knot 3. Pure manual creation a COM component 1. From construction to implementation Registration 1.1 Creating a type for Win32 DLL Project 1.2 Definition Interface File 1.3 Increase Registration Features 1.3.1 Add a Mathcom.def file 1.3.2 DllRegisterServer () and dllunregisterServer () 1.4 mathcom.cpp file 1.5 Summary 2. Implement IsmipleMath, IadvancedMath interface And DllgetClassObject () 2.1 Implementation of ISMIPLEMATH and IADVANCEDMATH Interface 2.2 COM Components Tunes Rough Procedure 2.3 DllgetClassObject () Implement 2.4 Client 2.5 Small Junction 3. Appendix A I know a little about the DLL 1.1 Unlike Lib DLL 1.2 Debug DLL in LIB. DLL 2.1 Create a DLL 2.2 debug with lib with liberation with libctions with a reference but there is no header file. DLL 3.1 with header file creates a lead information head DLL 3.2 debugging with header files with header files.

Text connection:

Http://www.vckbase.com/document/viewdoc/?id=915#1,com

http://www.vckbase.com/document/viewdoc/?id=916

http://www.vckbase.com/document/viewdoc/?id=926

转载请注明原文地址:https://www.9cbs.com/read-34000.html

New Post(0)