1
votes

Assume that break point hit in method of COM object in out-of-proc server (EXE). The call is synchronous and client(another process) that invoked COM object method still waits for HRESULT. How to find out what process (client) called above mentioned method of COM object?

1

1 Answers

1
votes

In the following article MSDN claims that goal can be achieved (article is large, therefor I will not copy it here) Identifying the Caller From the Server Thread

In short - MSDN suggests using DbgRpc tool from "Debugging Tools for Windows" or WinDbg and its RPC extension (command !rpcexts.getcallinfo 0 0 FFFF 970 where 970 is hex PID)

I repeated all steps but without success - I encountered problems that I described in separate Stackoverflow question: problems-using-dbgrpc-on-windows7