Ok, what you told me works for this simple program:
class HelloWorld: _reg_clsid_ = "{4E5807E3-C445-4A3C-A4BC-FD81697B661A}" _reg_progid_ = "Python.TestServer" _public_methods_ = ['Hello'] def __init__(self): pass
def Hello(self, who): return "Hello" + who
regsvr32
> Py2exe supports making com servers as dlls or as exes. After I
> create a com server with py2exe, how do I get it registered?
If it is a .exe, you just run it. If it is a DLL, you use regsvr32.exe to
register it - ie, you register them just like any other COM EXE or DLL
files.
> If I need to
Py2exe supports making com servers as dlls or as exes. After I
create a com server with py2exe, how do I get it registered?
If I need to register additional registry keys when the
com server is registered, how is that handled?
Tim Newsham
http://www.lava.net/~newsham/