When Do I Need to Call AtlAxWinInit?

 

The latest version of this topic can be found at When Do I Need to Call AtlAxWinInit?.

AtlAxWinInit](../Topic/AtlAxWinInit.md) registers the "AtlAxWin80" window class (plus a couple of custom window messages) so this function must be called before you try to create a host window. However, you don't always need to call this function explicitly, since the hosting APIs (and the classes that use them) often call this function for you. There is no harm in calling this function more than once. .

See Also

When Do I Need to Call AtlAxWinTerm
Control Containment FAQ