|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS ��NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |
class COleObjectManager: public CObjectManager { public: COleObjectManager(); ~COleObjectManager(); public: XObject Connect(const CString &strSource); };
The SOM object manager for Microsoft Windows ActiveX platform.
This class is used
to create instances of ActiveX automation objects having known
programmatic identifiers.
Instances of class
Som::CObject
in this implementation
are represented by pointers to dispatch interfaces
(
LPDISP
) of ActiveX automation objects.
Som::CObject
Constructor/Destructor Summary | |
COleObjectManager
();
����������Constructs the object manager. |
|
~COleObjectManager
();
����������Destroys the object manager. |
Function Summary | |
XObject
|
Connect
(const CString &strSource);
����������Connects to the ActiveX object. |
Constructor/Destructor Detail |
COleObjectManager();
Constructs the object manager.
~COleObjectManager();
Destroys the object manager.
Function Detail |
XObject Connect(const CString &strSource);
Connects to the ActiveX object.
This function creates an instance of an automation object with the specfied programmatic identifier (ProgID). The programmatic identifier, therefore, serves as the identification string for the automation object.
The effect of this function can be described
in terms of Windows SDK function calls;
it is similar
to the call to
CLSIDFromProgID
(obtains CLSID from ProgID),
followed by the call to
CoCreateInstance
(creates an instance of an object specified by
CLSID).
The source string (parameter
strSource
) must
contain the programmatic identifier (ProgID) of the object;
it must be acceptable as the first argument of
the
CLSIDFromProgID
Windows SDK function.
strSource
- the programmatic identifier (ProgID)
of the ActiveX object
|
Unicorn XML Toolkit Version 1.00.00 |
|||||||||
� PREV CLASS ��NEXT CLASS | FRAMES��NO FRAMES | |||||||||
SUMMARY: � CONSTR �|� FUNCTION �|�DATA | DETAIL: � CONSTR �|� FUNCTION �|�DATA |