I use Visual C++ 6.0 SP2.
I have multihreaded DCOM client. DCOM I initialize by CoInitializeEx(NULL, COINIT_MULTITHREADED), beacause I have a few threads from which I call objects. But now I want use some ActiveX controls in dialogs. When I try it, DoModal tries call AfxOleInit. It fails and returns RPC_E_CHANGED_MODE.
What can I do? Can I prevent AfxOleInit call?