# COM Classes

To register a class ID when this component is installed, right-click COM Classes in the COM Registration explorer, and then click New COM Class.

The name you give the COM class item is registered as the default value under HKEY_CLASSES_ROOT\CLSID\<GUID>. To give the class a new name, right-click it and then click Rename.

Click the COM class to configure its settings.

Specify a context type for this class. The following list tells you which server context is appropriate for which type of COM server:

- LocalServer32—32-bit .exe file
- LocalServer—16-bit .exe file
- InprocServer32—32-bit .dll or .ocx file
- InprocServer—16-bit .dll or .ocx file

If the server context is LocalServer or LocalServer32, click the context to set the Default Inproc Handler and Argument settings.

The recommended way to specify file registration is to use the Component Wizard and have it automatically extract the necessary information for you. Edit the COM registration here only if you need to make advanced modifications.