IDispatch
interface) that are exported by server applicationsEnterpriseServices
namespaceCOM is still the basic model for IPC and the basis for current ActiveX Windows technologies :
IDispatch
interface)Microsoft .NET: can interact with COM+ (via COM-interop-assemblies) and provides wrappers to most commonly used COM controls. It hides most detail from component creation and therefore eases development. WCF (Windows Communication Foundation) for web services is part of .NET.
QueryInterface
: retrieves reference to different interfaces the component implements (i.e. casting between different interfaces) by given IID
AddRef
: increments the reference count when a new client is acquiring the object, returns the new reference countRelease
decrements the reference count when clients have finished using the object, returns the new reference count; deletes itself when the reference-count is zeroIUnknown
IUnknown
doesn’t derive from another COM interface, it’s at the top of the interface hierarchy: its 3 methods always come first in the vtableDISPID
IUnknown
and extends it with four additional methods:GetIDsOfNames
: returns a DISPID for the supplied property or method nameGetTypeInfo
GetTypeInfoCount
IDispatch
és IUnknown
coclass
): concrete implementations of one or more interfaces; component typesCLSID
or based on their programmatic identifier string (progId
)AddRef
and Release
methods in the mandatory IUnknown
interface HKEY_CLASSES_ROOT\CLSID
HKEY_CLASSES_ROOT\Interface
The server must: