--- In [email protected], "entropyreduction" 
<alancampbelllists+ya...@...> wrote:
>
> 
> http://msdn.microsoft.com/en-us/library/ms688715.aspx
> 
> says
> 
> "Because there is no way to control the order in which in-process servers are 
> loaded or unloaded, do not call CoInitialize, CoInitializeEx, or 
> CoUninitialize from the DllMain function."
> 
> in other words, seems a bad idea to call CoUninitialize as a response to 
> com.unload.
>

Just for related links.

Best Practices for Creating DLLs
- http://www.microsoft.com/whdc/driver/kernel/DLL_bestprac.mspx

A process shutdown puzzle
- http://blogs.msdn.com/oldnewthing/archive/2009/01/29/9382123.aspx


Reply via email to