|
C12Adapter Opensource C++ Interface
|
Initialize and uninitialize COM in constructor and destructor. More...
Public Member Functions | |
| COMInitializer (bool delayInitialization) | |
| Constructor that initializes COM. More... | |
| void | EnsureInitialized () |
| When constructor's delayInitialization is true, this call shall be made before any COM call not made through MAutomation class. | |
| ~COMInitializer () | |
| Destroy object and uninitialize COM. | |
Initialize and uninitialize COM in constructor and destructor.
Multiple objects of this class can be present in thread.
This class is not reflected, and it is usable only from C++.
|
explicit |
Constructor that initializes COM.
| delayInitialization | Whether to delay initialization to the moment when the first COM call is made. |