|
Monikers
A moniker in COM is not only, as the name implies, a way to identify an
object. A moniker is also implemented as an object. This object provides services
allowing a component to obtain a pointer to the object identified by the moniker.
This process is referred to as binding.
Monikers are objects that implement the IMoniker interface, and are generally implemented in DLLs as component objects. There
are two ways of viewing the use of monikers: as a moniker client, a component that uses a moniker to get a pointer to another object, and as a moniker provider, a component that supplies monikers identifying its objects to moniker
clients.
OLE uses monikers, for example, to identify, connect to, and run OLE Compound
Document link objects. In this case, the link source acts as the moniker
provider, and the container holding the link object acts as the moniker client.
Related LinksSoftware for Delphi and C++ Builder developers Software for Visual Studio .NET developers Software for Visual Basic 6 developers Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps Win32 Programmer's Reference (win32.hlp) Win32 Multimedia Programmer's Reference (mmedia.hlp) Microsoft Windows Pen API Programmer's Reference (penapi.hlp) Microsoft Windows Sockets 2 Reference (sock2.hlp) Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp) Unix Manual Pages
|