Re: [python-win32] com servers and py2exe

2006-06-26 Thread Floris van Nee
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

Re: [python-win32] com servers and py2exe

2006-06-25 Thread Mark Hammond
> 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

[python-win32] com servers and py2exe

2006-06-23 Thread Tim Newsham
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/