Groups | Blog | Home
all groups > dotnet clr > december 2005 >

dotnet clr : EnumDomains in Another Process


markarichman NO[at]SPAM gmail.com
12/19/2005 12:06:42 PM
How do I enumerate the running AppDomains in another process, given the
PID of that process?
markarichman NO[at]SPAM gmail.com
12/19/2005 5:33:43 PM
After reading Mike Stall's example here...

http://blogs.msdn.com/jmstall/archive/2004/11/25/270182.aspx

....I think I need to convert an instance of ICorPublishAppDomain to
System.AppDomain...is there a way?
Willy Denoyette [MVP]
12/20/2005 4:50:07 PM

[quoted text, click to view]

No, you need to download "mdbg" (see Mike Stall's Blog), build it and and
use the corapi managed wrapper ICorPublish as explained in the Blog.


Willy.



AddThis Social Bookmark Button