--- In [email protected], "swzoh" <sean...@...> wrote:
>
> --- In [email protected], "entropyreduction" 
> <alancampbelllists+yahoo@> wrote:
> >
> > Okay, the slowness you observed, Sheri, is entirely down to
> > using CoWaitForMultipleHandles instead of WaitForSingleObject.  
> > 
> 
> What value did you use for COWAIT_FLAGS? It should/better be 0.

Oops.  I used COWAIT_WAITALL.  I'll try again with 0 next week when I'm back 
with my compiler.

I put OleUninitialize back in code run by com.unload.  Works fine.

I think most of my problems were caused by trying to do stuff in the 
DLL_PROCESS_DETACH section of DllMain that shouldn't be done there.
OleUninitialize, setting events, causing threads to run, suspend and finally 
exit...all too much as consequences of FreeLibrary call.





Reply via email to