CAtlModule Class
This class provides methods used by several ATL module classes.
class ATL_NO_VTABLE CAtlModule : public _ATL_MODULE
|
Name |
Description |
|---|---|
|
Override this method to add parameters to the ATL Registry Component (Registrar) replacement map. |
|
|
Adds a new function to be called when the module terminates. |
|
|
Returns the Global Interface Pointer. |
|
|
Returns the lock count. |
|
|
Increments the lock count. |
|
|
Releases all data members. |
|
|
Decrements the lock count. |
|
|
Runs the script contained in a specified resource to register or unregister an object. |
|
|
This method is called by UpdateRegistryFromResourceD to perform the registry update. |
|
|
Runs the script contained in a specified resource to register or unregister an object. This method statically links to the ATL Registry Component. |
This class is used by CAtlDllModuleT Class, CAtlExeModuleT Class, and CAtlServiceModuleT Class to provide support for DLL applications, EXE applications, and Windows services, respectively.
For more information on modules in ATL, see ATL Module Classes.
This class replaces the obsolete CComModule Class used in earlier versions of ATL.