are you getting cyclic function call graphs in your STA (or multiple STAs) ?
so you’ve probably heard of re-entrancy.
if you’re re-entrancy are due to a COM call waiting on some handles (WaitForSingle/MultipleObject/s), you can replace it with
What this method does is wait for your handles, but also handles new COM calls (through a simple message pump), which is just fantastic.
If you have custom message processing, CoWaitForMultipleHandles will not execute this custom behavior, for more info on that look here: http://blogs.msdn.com/timng/archive/2006/09/06/743795.aspx
Strange… I have 245 photos on my flickr account.