how to config a comserver in a customize dll?

ÒÊÃÉɽÈË dreamingpython at 163.com
Thu May 19 22:04:39 EDT 2005


When i use the below code to create a comserver on Windows OS£¬i find that
the com was configed in the file
python23com.dll,why? if i want to config it in my customize dll,how should i
do? thks

class TestPythonCom:
    _public_methods_ = [ 'SplitString' ]
    _reg_progid_ = "TestPythonCom.Application"
    # NEVER copy the following ID
    # Use "print pythoncom.CreateGuid()" to make a new one.
    _reg_clsid_ = "{93D78ABA-1F6C-4B1C-97C7-C3700511415A}"

    def SplitString(self, val):
        return val






More information about the Python-list mailing list