10.1.1 Registering OLE Server Information

A server application registers itself in the REG.DAT database by placing a key and value in the database that shows which OLE protocols it supports. The entries in the registration database are used whenever a client application or DLL needs information about a particular object and its server application.

The keys and values can be added to the registration database by one of two methods:

Calling REGLOAD.EXE to merge the contents of the text file INI.REG into the REG.DAT database.. (An example INI.REG is shown as a series of HKEY_CLASSES_ROOT statements in the following section.)

Using the registration function calls provided with SHELL.DLL.