Simple DCOM example?

dsavitsk dsavitsk at e-coli.net
Tue May 14 23:52:38 EDT 2002


if the COM server is a Python COM server, add the line

_reg_clsctx_ = pythoncom.CLSCTX_LOCAL_SERVER

under your _reg_clsid_ and all should work well.  also, you can skip the
userName parameter.

-d


"Tim Hamza" <tim at frontier.net.nospam> wrote in message
news:3ce1e2c7$0$26393$724ebb72 at reader2.ash.ops.us.uu.net...
> Hey all,
>
> I have been playing around with the win32com stuff.  I have the same COM
> object on two Win2k boxes that I can use on each box as in the demo.  Is
> there an easy way to access COM objects between machines?  I grasped at
> variations of the win32com.client.DispatchEx straw because it lists
machine
> as a parameter.
>
> Ex
> w = win32com.client.DispatchEx("someObject.Application",
machine="otherPC",
> userName="goodUserOnBothPCs")
>
> This returns the right kind of object, but calling its methods does not
> affect the app on other PC.
>
> Have read win32com docs and googled.  Easy answer or no?
>
> Thanks,
>
> Tim
>
>





More information about the Python-list mailing list