I reorganised COM plugin code, so I can conditionally generate a version that
runs entirely on the main powerpro thread.
In case results make any sense to someone: when creating a new object,
m_hr = CoCreateInstance(clsid, NULL, CLSCTX_SERVER,
IID_IDispatch, (void**) &m_pIDispatch);
works if creating a File Sytem Object.
but fails if trying to create a word app object, returning
0x8001010d "An outgoing call cannot be made since the application is
dispatching an input-synchronous call"
CLSCTX_ALL instead of CLSCTX_SERVER does the same.
Anyone have any thoughts?