Problems with gencache on Windows NT
Don Dwiggins
dwig at advancedmp.net
Fri May 4 12:29:54 EDT 2001
Thanks to you both -- it works fine.
> From: Geoff Talvola <gtalvola at nameconnector.com>
> 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.
I notice that the generation results are different: instead of a single
file, there's a directory containing what looks like a file for each typelib
entry (I didn't look too closely).
> 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?
Are these things written up somewhere, or are they too new? (I know, I
know, RTF code... 8^)
Again, thanks much.
--
Don Dwiggins "Solvitur Ambulando"
Advanced MP Technology
dwig at advancedmp.net
More information about the Python-list
mailing list