User`s guide
Component Registration
(Continued)
Key Definition
HKEY_CLASSES_ROOT\Interface
Information about COM interfaces on the
system. Each component creates a new key under
HKEY_CLASSES_ROOT\Interface for each interf a ce
it defines. This key has the value of the GUID
assigned to the interface and contains subkeys
with information about the interface.
HKEY_CLASSES_ROOT\TypeLib
Information about type libraries on the system.
Each component creates a key for its type library
with the value of the GUID assigned to it. Under
this key a new key is created for each version
of the type library. Therefore, new versions of
type libraries with the same name reuse the
original GUID but create a new subkey for the
new version.
HKEY_CLASSES_ROOT\<ProgID>,
HKEY_CLASSES_ROOT\<VerIndProgID>
These two keys are created for the
component’s Program ID and Version
Independent Program ID. These keys
are constructed from s trings of the form
<component-name>.<class-name>
and
<component-name>.<class-name>
<version-number>
These key s are useful for creating a class instance
from the component and class names instead
of the GUIDs.
Versioning
MATLAB Builder for Excel components support a simple versioning
mechanism designed to make building and deploying multiple versions of the
same component easy to implement. The version number of a component
appears as part of the DLL name, as well as part of the version-dependent ID
in the system registry.
A-9