But whenever i try to write an other method in my automation client
that calls WindowFromAccessibleObject internally [I am calling
OleInitialize(0); before i call WindowFromAccessibleObject and
OleUninitialize(); after i call WindowFromAccessibleObject] it fails
it returns NULL. the HRESULT is 0x8001010D [An outgoing call cannot be
made since the application is dispatching an input-synchronous call.]
[I have tried using CoInitialize(0); CoUninitialize(); but the issue
still occurs.]
Is it a mistake if a call OleInitialize and OleUninitialize more than
once from my automation client
I have a low profile on COM and OLE. Even if i google/ search in COM-
OLE books i am not able to fix this issue. Please help. I need a
solution urgently.