Python COM and DCOM.

Steve Williams sandj.williams at gte.net
Sat Jan 20 13:30:14 EST 2001


Syver Enstad wrote:

> "Steve Williams" <sandj.williams at gte.net> wrote
> > Just a thought.  Run dcomcnfg on your server, highlight Python server
> name,
> > click on properties and look at the location tab.  You may also want to
> look
> > at the Identity tab, as well.
> >
> I've done this on the client machine, what should I look at on the server?
>
> FYI, I am already having several .exe C++ implemented COM objects being
> accesed through DCOM from the same machine. Only the python object is
> causing me headache.

AFAIK, the only thing you have to do on the client machine is register the
DCOM object.  If the object is running on your client, then it's registered.
You don't run dcomcnfg on the client--you run it on the server.

In my client applications (VB and ACCESS, for the most part) I include the
second parameter servername when I instantiate the object.

Set PythonObject = CreateObject("PythonProgram.PythonClass","SrvrName")





More information about the Python-list mailing list