When Do I Need to Call AtlAxWinTerm?
AtlAxWinTerm unregisters the "AtlAxWin80" window class. You should call this function (if you no longer need to create host windows) after all existing host windows have been destroyed. If you don't call this function, the window class will be unregistered automatically when the process terminates.