Problems with gencache on Windows NT

Geoff Talvola gtalvola at nameconnector.com
Fri May 4 10:18:23 EDT 2001


At 12:27 AM 5/4/01 +0000, Mark Hammond wrote:
It is probably the GUI progress indicator.

>Try adding "bForDemand=1" to the EnsureModule call.  This should make a 
>much faster generation process, and as a result it makes no attempt to 
>display a GUI dialog.
>
>Mark.

Lately, I've just been using EnsureDispatch to instantiate my COM 
objects.  This seems to work just fine, and eliminates the need for a 
separate call to EnsureModule -- EnsureDispatch will call it if 
necessary.  It also defaults to using bForDemand=1 and therefore doesn't 
bring up a GUI progress window.

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?


--

- Geoff Talvola
   gtalvola at NameConnector.com




More information about the Python-list mailing list