Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
As of ATL 7.0, CComModule is obsolete: see ATL Module Classes for more details.
HINSTANCE m_hInstResource;
Remarks
By default, contains the handle to the module instance.
The Init method sets m_hInstResource to the handle passed to DLLMain or WinMain. You can explicitly set m_hInstResource to the handle to a resource.
The GetResourceInstance method returns the handle stored in m_hInstResource.
Requirements
Header: atlbase.h