[python-win32] Python com server error
Tim Roberts
timr at probo.com
Thu Dec 31 00:18:57 CET 2009
Sarah Abdel Razak wrote:
>
> I have a problem when registering a Python com server, I got a message
> box that says :
>
> " Invalid command line argument.
> This programs provides LocalServer com support for Python COM objects.
> It is typically run automatically by COM, passing passing as
> arguments The ProgID or CLSID of the Python server(s) to be hosted "
>
> Although the same server was registered successfully on other machines
> that has different windows OS, I would appreciate any help.
Is this the same script you were working on in July?
For a local server, some of the processing is up to you. If you want to
register, you call win32com.server.register.UseCommandLine. If you want
to run the server, you call win32com.server.localserver.serve. Do you
have code to do that? What does your Server.py code look like?
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list