--- In [email protected], "entropyreduction" <alancampbelllists+ya...@...> wrote: > > However, my current theory re CoUninitialize hanging is that somehow I'm > indeed leaving something unreleased, and CoUninitialize won;t let go until I > do. Can;t for life of me see what I've left undone. >
Remember it crashed, not just leaked something. Although I'm still thinking better go back to the main-thread code, to work with the new-thread, I suggest to call PostQuitMessage(0) after CoUninitialize() call.
