### Function RegisterServer

## SYNOPSIS

    import win32com.server.register

    def RegisterServer(clsid,

## DESCRIPTION

Registers a Python object as a COM Server. This enters almost all necessary information in the system registry, allowing COM to use the object.

clsid
  The (unique) CLSID of the server.
pythonInstString
  A string holding the instance name that will be created whenever COM requests a new object.
className
  ??
progID
  The user name of this object (eg, Word.Document)
verProgId
  The user name of this version's implementation (eg Word.6.Document)
defIcon
  The default icon for the object.
threadingModel
  The threading model this object supports.
policy
  The policy to use when creating this object.
catids
  A list of category ID's this object belongs in.
other
  A dictionary of extra items to be registered.
addPyComCat
  A flag indicating if the object should be added to the list of Python servers installed on the machine.
dispatcher
  The dispatcher to use when creating this object.

## SEE ALSO

win32com.server.register

Copyright © Greg Stein, Mark Hammond, Curt Hagenlocher and a few other contributors
All Rights Reserved
Comments to author:
Generated: Sun Apr 20 1997