Microsoft Chat Server Development Guide

Register and install your component

  1. Copy the REGCATID.REG registration template from one of the sample extension directories.
  2. Locate the CLSID that was assigned to your component.
    There are two ways to find the GUID. You can search the HKEY_CLASSES_ROOT key in the system registry for the Progid assigned to your component. Or, if you have installed the Enterprise version of Visual Basic, you can find it in the .VBR file in the Visual Basic project directory for your component.
    The .VBR file contains a list of registry strings that can be used to install your component on other systems, but is not used by the chat server extension itself. Open the file and browse for any line beginning with "HKEY_CLASSES_ROOT\CLSID." The CLSID of the component can be found between curly braces. In the following example, "F3A20E7B-85FF-11D1-9B04-00C04FB90B72" is the CLSID:
    VB5SERVERINFO
    VERSION=1.0.0
    .
    .
    .
    HKEY_CLASSES_ROOT\CLSID\{F3A20E7B-85FF-11D1-9B04-00C04FB90B72}\
    ProgID = MangleTopicExtension.MangleTopic
    
  3. Cut and paste the CLSID from the registry or .VBR file to the REGCATID.REG template file. The series of X's below indicate where to place the CLSID assigned to your component:
    REGEDIT4
    
    [HKEY_CLASSES_ROOT\CLSID\{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}\
    Implemented Categories\{26ED0606-44D2-11D1-9045-00C04FB6E8E9}]
    
  4. Save REGCATID.REG and run it. This will install the required Chat Extension category values into the system registry. Since the Visual Basic compiler replaces the registry strings when it rebuilds the component, this step must be performed if the component has been recompiled.
  5. Finally, install the new component using the Chat Service Manager.

Note: Category registration is only necessary to install the component. It is not required if the extension has already been installed. However, you will need to reinstall the extension if you have added callback interfaces.


© 1998 Microsoft Corporation. All rights reserved.