perl or python w/MTS?

Mark Hammond MHammond at skippinet.com.au
Fri Sep 3 20:07:44 EDT 1999


Python and MTS work fine(*).  There is not much to say about it, as it "just
works".  Python fully supports all the COM threading models, and this is
also true under MTS - however, as MTS runs objects in its own process, the
objects are all out-of-process, so most of the threading model
considerations dont apply.

* There is a bug in win32all-125 that can crash the MTS package.  This
happens when multiple MTS threads all attempt to start using Python at the
same time.  This bug has been fixed so is available from the CVS source
archive or in the soon to be release win32all-126.

Mark.

nielsenjf at my-deja.com <nielsenjf at my-deja.com> wrote in message
<7qorpv$jpq$1 at nnrp1.deja.com>...
> In cases where I don't want to write C++ and would rather not use VB to
> createa component that lives in MTS, perl or python would be a great
> alternative if they work out well.
>
> It looks like each can create COM components, but I don't see a lot of
> stuff regarding their use with MTS.
>
> How well do each function with it? For example, what type of apartments
> can they live in? It is all only IDispatch based?
>
> Any good examples of typical components written in perl or python for
> MTS?








More information about the Python-list mailing list