Component Object Model
| , - .
, .
|
COM (. Component Object Model ; []) Microsoft, , . - . COM -, Microsoft Windows. Windows COM . COM : Microsoft OLE Automation, ActiveX, DCOM, COM+, DirectX, XPCOM.
|
|
[] COM
COM 1993 Microsoft OLE. OLE 1.0 . . « » (. compound documents): , Microsoft Office Microsoft Excel Microsoft Word.
[]
1996 Microsoft OLE ActiveX, . , OLE OLE (. OLE Controls, OCX) , COM. OLE ActiveX (. ActiveX controls), «.ocx» . Microsoft ActiveX , ActiveX Internet Explorer. OLE . OLE- - ActiveX.
OLE ActiveX , COM-. , OLE COM. , OLE- COM-, OLE- COM-, . .
[] COM
, COM, COM-. , COM, , COM-. (GUID) . COM- . COM- , , «IUnknown», . «IUnknown» : QueryInterface, AddRef, Release.
Windows API , COM-. MFC , , ATL/WTL COM. ATL Microsoft COM-. COM- , , COM ( C++). ( COM+ .NET) Microsoft COM-.
[] , COM
[] DCOM
1996 DCOM (. Distributed COM COM) DCE/RPC ( RPC). DCOM COM- . DCOM CORBA.
DCOM, CORBA , , .
DCOM ORPC (Object RPC) - DCE RPC.
DCOM , , ( « »?) .
[] COM+
Microsoft Transaction Server Option Pack Windows NT4 1997 .
Windows 2000 COM+, Microsoft Transaction Server.
COM-, , :
- , - mtx.exe
- , (, , ASP, , ).
- MS DTC ( COM+ MS DTC)
MTS/COM+ - MS IIS -, ISAPI, ASP ( asp.dll ISAPI-).
COM+ COM+, . COM+. , COM+, Microsoft .NET.
[] .NET COM
2002 Microsoft .NET, Microsoft Windows. .NET , COM .NET, . , COM (, COM+) .NET .
[] DCOM XP SP2
2009 DComLab ComBridge. ComBridge DCOM CIS, 135 , dcomcnfg. ComBridge DCOM, .
[] OPC
OPC (OLE for Process Control) , . OPC Windows-: OLE, ActiveX, COM/DCOM. OPC , OPC XML DA OPC UA -.
[] OLE
OLE (. Object Linking and Embedding, oh-lay [] ) , .
OLE . , , OLE-.
[]
, :
- (.idl C++ ). , , .
- "" ( ATL) , COM- ++ . , . , ( MS - - comdef.h, _com_ptr_t<Interface>, COM- ).
- , GUID ( ).
- remoting ( ) , DCE RPC. " " , (MSBlaster).
- remoting ( DCE RPC) TCP UDP , .
- . COM 32 HRESULT, 0x80070123, ( ).
, runtime type information COM, type libraries, .. Automation-compatible , ( - SAFEARRAY, - BSTR, , , /, , Automation-compatible ).
, , COM - , « » , , C# () Java Microsoft. runtime type information, , , , «» ATL. , MS J++ Java COM, . C#.
, « » ( ) « » (Java, Objective C), , (.NET, C#, ++ managed VB.NET).
(, .NET) . remoting , / ( DCE RPC, SOAP, - XML, - HTTP, ).
, , . , , COM- type libraries ( Dim obj As Excel.Workbook), COM- ( Dim obj As Object). , Objective C Cocoa.
[]
- COM - (.)
- Win32 COM MSDN (.)
- COM MSDN (.)
- COM+ MSDN (.)
- DCOM MSDN (.)
- COM/DCOM/COM+ RSDN (.)
- COM (.)
- COM (.)
- COM- (.)
- COM (.)
- ComBridge DComLab (.)
- COM PHP (.)
[]
- . COM+. = Understanding and Programming COM+: A Practical Guide to Windows 2000 First Edition. .: «», 2000. . 480. ISBN 0-13-023114-2
| Microsoft Windows | |
|---|---|
|
Ntoskrnl.exe (hal.dll) svchost.exe DLL ( ) PE NTLDR (winlogon.exe) Windows RE Windows PE |
|