CLSID Key

A CLSID is a globally unique identifier that identifies a COM class object. If your server or container allows linking to its embedded objects, then you need to register a CLSID for each supported class of objects.

Registry Entry

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID = <CLSID>

Value Entries

<CLSID>
Specifies a name that can be displayed in the user interface.

Remarks

The CLSID key contains information used by the default COM handler to return information about a class when it is in the running state.

To obtain a CLSID for your application, you can use the UUIDGEN.EXE found in the \TOOLs directory of the COM Toolkit, or use CoCreateGuid.

The CLSID is a 128 bit number, spelled in hex, within a pair of brarces.

SubKeys and Named Values

\CLSID = <CLSID>

\<CLSID>
Human readable name
\AppID
Application identifiers
\AutoConvertTo
Automatic object class conversion
\AutoTreatAs
Assigns the TreatAs value. 
\AuxUserType
Identifies object as a control
\Control
Displayable application name. 
\Conversion
Conversion used by the Convert dialog
\DataFormats
Formats supported by applications. 
\DefaultIcon
Provides default icon information
\InprocHandler
Registers a 16-bit handler DLL.
\InprocHandler32
Registers a 32-bit handler DLL.
\InprocServer
Registers a 16-bit in-process server DLL
\InprocServer32
Registers a 32-bit in-process server DLL
\Insertable
Indicates object is insertable in COM applications
\Interface
Associates interface name with IID
\LocalServer
Full path to a 16- or 32-bit application 
\LocalServer32
Full path to a  32-bit application
\MiscStatus
Default status used for all aspects
\ProgID
Programmatic identifier for a class
\ToolBoxBitmap32
Module name and resourdeID for a 16 x 16 bitmap
\TreatAs
Specifies the CLSID of a class that can emulate the current class
\Verb
Verbs associated with an application
\Version
Version number of the control

See Also

CoCreateGuid