msxml3 and IStream interface

David Bolen db3l at fitlinxx.com
Fri Dec 29 21:40:00 EST 2000


Mark Hammond <MarkH at ActiveState.com> writes:

> You are certainly on the right track.  Note that IStream is somewhat 
> special, in that the win32com package knows about this explicitly, so 
> there is no need for makepy support for this interface.  You _do_ need 
> makepy support for the XML lib, as you have done.  (you probably knew 
> all that - just being clear)

In a similar vein (already known interfaces versus not), I'm beginning
to look/work more with the server side of things, and was wondering
how one might go about using win32com to produce a COM server using a
non-IDispatch interface, where that interface wasn't one of the
predefined ones in pythoncom.

Your book doesn't seem to really touch the construction of
non-IDispatch interfaces - is the most practical approach for me to
build a typelib via standard means (compiling an IDL), then use makepy
to define it for win32com, which then would let me declare it in the
_com_interfaces entry in my class?

And if I'm intending to use these over DCOM and might involve
non-standard marshaling code, is there a way to make that code
available to win32com?

Book and/or code pointers are fine (I've saved various COM stuff from
you and Alex in the past which I'm still also going through).

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list