# Registering Object Applications

Most OLE registry information is stored in subkeys and named values under the following registery keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OLE

To obtain general information about registering an object application or about an OLE registry entry make a selection from one of the topics listed below.

OLE Registry Entries

The topics in this section contain general information about registering OLE applications.

Installation and Setup

OLE Registry Functions

Registering OLE 2 Libraries

Checking Registration During Run Time

Specifying Unknown User Types

Conventions Used in Examples

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ AppID

The topics under the AppID key describe registry entries related to distributed COM.

RemoteServerName

ActivateAtStorage

LocalService

ServiceParameters

RunAs

LaunchPermission

AccessPermission

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ CLSID Key

The topics under the CLSID key contain information that is used by the default OLE handler to return information about a class when it is in the running state.

AppID

AutoConvertTo

AutoTreatAs

AuxUserType

<CLSID>

Conversion

DataFormats

DefaultIcon

InprocHandler

InprocHandler32

InprocServer

InprocServer32

Insertable

Interface

LocalServer

LocalServer32

MiscStatus

ProgID

ToolBoxBitmap32

TreatAs

Verb

Version

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\< FileExtension>

The file extension key associates a file extension with a ProgID, indicating that OLE 2 can handle requests fromthe Windows 3.1 File Manger. It is also used by File Monikers and by GetClassFile to supply the associated CLSID.

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ FileType

The FileType key is used by GetClassFile on non-compound files to obtain a CLSID.

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ Interface

The Interface key registers new interfaces with OLE by mapping an interface ID with a CLSID.

BaseInterface

NumMethods

ProxyStubClsid

ProxyStubClsid32

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\< ProgID>

The ProgID key maps a component’s CLSID to a ProgID.

CLSID

Insertable

Shell

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\< VersionIndependentProgID>

The version independent ProgID key associates a ProgID with a CLSID and is used to determine the latest version of an object application.

CLSID

CurVer

HKEY_LOCAL_MACHINE\Software|Microsoft\OLE

The values under this key control Distributed COMs call-level security features in application that do not call CoInitializeSecurity.

EnableDCOM

DefaultLaunchPermission

DefaultAccessPermission

LegacyAuthenticationLevel

LegacyImpersonationLevel

LegacyMutualAuthentication

LegacySecureReferences