AW: Evidence of pythoncom bug?

Stefan Schukat SSchukat at dspace.de
Fri Sep 7 11:07:06 EDT 2001


> 
> > ----------
> > Von: 	Bill Bell[SMTP:BILL-BELL at BILL-BELL.HAMILTON.ON.CA]
> > Gesendet: 	Freitag, 7. September 2001 14:42:52
> > An: 	Mark Hammond
> > Cc: 	python-list at cwi.nl
> > Betreff: 	RE: Evidence of pythoncom bug?
> > Diese Nachricht wurde automatisch von einer Regel weitergeleitet.
> > 
> > 
> On 7 Sep 2001, at 23:34, Mark Hammond wrote:
> > Yes - pythoncom does not support arbitary vtable based interfaces. 
> > This limitation has existed since day 1, and may soon be able to be
> > removed. However, it still exists today.  So I am afraid it is a
> > simple case of it being a known and documented limitation.
> 
> Thanks very much!
> 
> I don't suppose you could point me toward some kind of 
> workaround?
> 
> Thanks in any case.
> 
> Bill
> 
> Bill Bell, Software Developer
> 

You could probably make your own pyd which wraps this custom interface.
Mark provided scripts for that in ..\com\win32com\makegw. 
In makegw.py is a short explanation what to be done.
If you don't have an IDL file for your interface try to make a new one
out of the typelib via the OLEVIEW.EXE utility shipped with 
Visual Studio. With this you could generate then the .h anc .c files
needed for the makegw utility. Any further question I 
could only answer on Monday.

Bye

   Stefan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dipl. Phys.
Stefan Schukat
Software Development EXP-CTA
dSPACE GmbH
Technologiepark 25, 33100 Paderborn, Germany
phone  : +49 - 5251 - 1638  - 612
fax    : +49 - 5251 - 16198 - 611
mailto : sschukat at dspace.de  http://www.dspace.de
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 





More information about the Python-list mailing list