I need to enumerate AppDomains, loaded into CLR. But I need to do that from unmanaged code (in C++). I think, I should use ICorRuntimeHost. It contains methods for AppDomains enumeration. ICorRuntimeHost::NextDomain returns IUnknown* for current AppDomain. Which interface I need to use to access this AppDomain without enabling CLR support in my code?
Solved. I was only needed to #import <mscorlib.tlb>
.