Beginning with ATL 2.0, the CComModule::UpdateRegistryFromResource method is obsolete and is replaced by CComModule::UpdateRegistryFromResourceD. For backward compatibility, ATL defines the following:
#define UpdateRegistryFromResource
UpdateRegistryFromResourceD