assemblies question

J

Jeffrey Murdock

hello,

how can i get instances of assemblies which are already in the memory
and not in use with the own process.

for the own process i can use
foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies())
{
//here are the instances without loading them twice
}


but i want also the instances of assemblies of other processes.
i don't want to load the assemblies with a static methode like
Assembly.Load...


i am working with .net framework 1.1.


does anybody have a url to a COM solution or a url to another solution?

jeff
 
J

Jeffrey Murdock

also to mention

from MSDN
--
The assembly is loaded into the domain of the caller.
--


well, i don't want this. it should be in the domain of the other
process which is using it.




jeff
 
W

Willy Denoyette [MVP]

Jeffrey Murdock said:
also to mention

from MSDN
--
The assembly is loaded into the domain of the caller.
--


well, i don't want this. it should be in the domain of the other
process which is using it.




jeff

You can't do this, assemblies can only be loaded in the current process, if
the "other" process needs an assembly it's up to that process to load it.
What exactly do you want to achieve?

Willy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top