--- In [email protected], "entropyreduction" <alancampbelllists+ya...@...> wrote: > > - Com.Unload > > What's it do wrong? > >
Alan, I think com.dll uses the same/main thead as PP, right? Then, I suggest to never call CoInitialize()/CoUninitialize() inside com.dll, as PP always call OleInitialize()/OleUninitialize() at the initial/exit stage, I suppose. Or at least use the same one, i.e., OleInitialize()/OleUninitialize() instead of CoInitialize()/CoUninitialize(). I reckon this is related with the Message Loop, I often observed that calling (final) CoUninitialize()/OleUninitialize() while a GUI is still running crashed the application.
