(Note: Names and GUID have been changed from original values)
While debugging an application, I found that a likely culprit for a bug I had was in a library my application was linking with, in the function
pAgent->raw_Open()
agent is declared in our C++ code as
XX::IAgentPtr pAgent
All Visual Studio can tell me about IAgentPtr is that its type is
_com_ptr_t<_com_IIID<XX::IAgent,&_GUID_deadbeef_1234_1234_1234_1234deadbeef> >
And my debugger cannot step into the code of agent->raw_Open() to see what's going on. I'd like to know which DLL defines XX:IAgent, as I may be able to get debugging information or source code for that DLL.
I've figured out that IAgent is a COM interface, and through searching elsewhere, I found that I might be able to find the location of the DLL file by looking in the registry (HKEY_CLASSES_ROOT\CLSID\{guid}). However, I could not find the GUID I'm looking for there.
How might I find the DLL that contains the definition for IAgent given that I know IAgent's GUID?
(Note: Although they have similar titles, this question is not a duplicate of this question, as the asker of the linked question knows the DLL which defines the interface with the GUID)