pythoncom.gif
blank.gif blank.gif blank.gif Home Page

Module win32com.client.clsidtoclass - Manages a dictionary of CLSID strings to Python classes.


SYNOPSIS

# Parent Module
win32com.client
# Functions
GetClass  # Given a CLSID, return the globally associated class.
HasClass  # Determines if the CLSID has an associated class.
RegisterCLSID  # Register a class that wraps a CLSID
RegisterCLSIDsFromDict  # Register a dictionary of CLSID's and classes.

# Variables
dictionary mapCLSIDToClass = {}

DESCRIPTION

Primary use of this module is to allow modules generated by makepy.py to share classes. makepy automatically generates code which interacts with this module. You should never need to reference this module directly.

As an example , the MSACCESS.TLB type library makes reference to the CLSID of the Database object, as defined in DAO3032.DLL. This allows code using the MSAccess wrapper to natively use Databases.

This obviously applies to all cooperating objects, not just DAO and Access.


blank.gif blank.gif blank.gif Home Page
www_icon.gif

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