Problems with gencache on Windows NT

Mark Hammond MarkH at
Sat May 5 02:44:57 CEST 2001

Alex Martelli wrote:

> "Geoff Talvola" <gtalvola at> wrote in message

>>So far I haven't had any problems, but I haven't seen anyone else
>>recommending the use of EnsureDispatch, so I'll ask the question: Is there
>>any reason _not_ to just use EnsureDispatch?
> I'd be interested, because I don't know of any such reasons -- I've
> gradually switched just about all my COM clients to
>     from win32com.client.gencache import EnsureDispatch as Dispatch
> over from
>     from win32com.client import Dispatch
> so if there ARE counterindications I didn't notice I'd really
> like being informed about them!-)

   There is one slight problem remaining with events.  In some cases, 
the module is needed before it is generated. I can't remember the exact 
problem at the moment.

  However, this is just an implementation problem, and the only thing 
left from moving to use this as the default.


More information about the Python-list mailing list