|
IOleLink::BindIfRunning
Activates the connection between the linked object and the link source if the
link source is already running.
HRESULT BindIfRunning(void);
Return Values
S_OK
The link source was bound.
S_FALSE
The link source is not running.
CreateBindCtx, IMoniker::IsRunning, or IOleLink::BindToSource errors
Binding the moniker might require calling these functions; therefore, errors
generated by these functions may be returned.
Comments
You typically do not need to call IOleLink::BindIfRunning. This method is primarily called by the linked object.
Notes on Provided Implementation
The linked object's implementation of IOleLink::BindIfRunning checks the Running Object Table (ROT) to determine whether the link source is
already running. It checks both the relative and absolute monikers. If the
link source is running, IOleLink::BindIfRunning calls IOleLink::BindToSource to connect the linked object to the link source.
See Also
IOleLink::BindToSource
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
|