Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

ActiveX DLL Registry Entries

RSS
Modified on Fri, Feb 06, 2009, 11:11 PM by Administrator Categorized as Visual Basic 6, Windows Registry

How to Track Down Guids

Step 1 - Determine Class IDs for Each Public Class

HKLM\Software\Classes\
    LibRegistry2.clsRegistryEntry\Clsid
        Here's the CLSID for PUBLIC CLASS clsRegistryEntry
        (Default) = "{42A2B69F-11B8-11D6-B183-0EC04F2B62B9}"
    LibRegistry2.clsRegistryKey
        (Default) = "{42A2B6A1-11B8-11D6-B183-0EC04F2B62B9}"
    LibRegistry2.Library
        (Default) = "{42A2B69A-11B8-11D6-B183-0EC04F2B62B9}"

Step 2 - For each CLSID, Determine TypeLib GUID

Here's the CLSID for Public Class clsRegistry
HKLM\Software\Classes\CLSID\{42A2B69F-11B8-11D6-B183-0EC04F2B62B9}\
    (Default) = "LibRegistry2.clsRegistryEntry"
    Implemented Categories\(Default) = not set
        (OtherCLSID)\(Default) = not set
    ProgID
        (Default) = "LibRegistry2.clsRegistryEntry"
    Programmable
        (Default) = not set
    TypeLib
        Here's the TypeLib GUID FOR PUBLIC CLASS clsRegistryEntry
        (Default) = "{42A2B698-11B8-11D6-B183-0EC04F2B62B9}"
    VERSION
        Here's the Version for TypeLib
        (Default) = "1.2"

Step 3 - For each TypeLib GUID, Determine the ActiveX Server Executable

Here's the TypeLib GUID FOR PUBLIC CLASS clsRegistryEntry
HKLM\Software\Classes\TypeLib\{42A2B698-11B8-11D6-B183-0EC04F2B62B9}
    (Default) = not set
    Version for TypeLib
    \1.2
        Description of TypeLib
        (Default) = "_Registry Function Library #2"
        \0
            (Default) = not set
            \win32
                MS-DOS Name of ActiveX server
                (Default) = "C:\Data\CODELI~1\LIBREG~2.DLL" 
        \FLAGS
            (Default) = "0"
        \HELPDIR
            MS-DOS Path of help file(s)
            (Default) = "C:\Data\CODELI~1"

General Case

Class Names and Their DLL Files

Registry Key Description
HKCR\ClassName\Clsid\(Default) The GUID for a given Class Name
HKCR\CLSID\GUID\InprocServer32\(Default) The path of the DLL that implements the specified GUID, which in turn specifies a ClassName

Type Libraries

Registry Key Description
HKCR\TypeLib\GUID GUID's for each type library installed
HKCR\TypeLib\GUID\Version\(Default) Description of the type library, as listed in VB's Project References dialog
HKCR\TypeLib\GUID\Version\(Default)\0\win32\(Default) Path for the file (typically a DLL) that implements the type library

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2017, Patrick Jasinski.