Registering Components

When the following types of applications are installed, installation information must be added to the registry, usually through a setup program:

For all three instances, register COM library (DLL) information and application-specific information.

The DLL registers the information for all its components by exporting DllRegisterServer and DllUnregisterServer. Most setup programs call DllRegisterServer as part of the installation process. Use the following functions to register and unregister a component:

RegOpenKeyEx

RegCreateKeyEx

RegSetValueEx

RegEnumKeyEx

RegDeleteKey

RegCloseKey