10.1.3 Specific Database Keys

Server applications are registered by including the following information as specific keys in the database:

Key Purpose

File Extension/ClassName The ClassName and file types should be registered for every object class the server application supports. (This ClassName must be the same string that the server uses when it calls the OleRegisterServer function.)
Object ClassName The ClassName data needs to be registered in human-readable form so that client applications can display the object type to the user. The ClassName key can be anything, no matter how cryptic, since it will not be read by a user.
Editing Protocol The protocols supported by OLE 1.0 are StdFileEditing (current protocol for linked and embedded objects) and StdExecute. StdExecute is used only by applications that support the OleExecute function.
Name of Object Handler DLL If a class has an object handler library, it should be also be registered using the keyword handler.
Name of the Server Application Information in the database also allows the OLE libraries to locate and launch the application when the user wants to edit one of its object from within a compound document.
Valid Verbs An application should also register all the verbs its class or classes support. An application's verbs must be sequential; for example, if an object supports three verbs, the primary verb is 0 and the other verbs must be 1 and 2.

Note All OLE server applications must register at least one verb.