473,395 Members | 1,578 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

assemblies question

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

Nov 17 '05 #1
3 915
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

Nov 17 '05 #2

"Jeffrey Murdock" <je*************@gmx.at> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
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.
Nov 17 '05 #3
Write a debugger.

"Jeffrey Murdock" <je*************@gmx.at> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
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

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Tom Dacon | last post by:
If you're not putting assemblies in the GAC, but are referencing shared code with copylocal=true into the projects that use them, is there any value to signing the assemblies? In the environment...
1
by: BillyMac | last post by:
Hello I emply a "plug-in" architecture for a .NET Windows service. At OnStart, the service browses for DLL's in in sub-folders and loads them dyanamically using Assembly.LoadFrom() The...
12
by: Mark Broadbent | last post by:
Hi guys, just going through remoting at the moment and a couple of questions relating to .net in general has surfaced. Firstly I have seen in the designer that for the namespace and many of its...
9
by: Invalidlastname | last post by:
Hi, We developed some assemblies which use EnterpriseServices queued components. In order to use EnterpriseServices, these assemblies need to be installed into GAC. I used the pre-build and...
10
by: Richard Brown | last post by:
I think I might be on track to a misnomer that I keep running into. A lot of the assemblies that I reference are named "System", "System.Drawing", etc. There are dlls, ie, system.dll and...
7
by: Steve | last post by:
Hi all, I'm designing my DAL layer(s) for our suite of applications and I'm designing myself in circles, it's gotten to the point where each idea just mixes me up more :) We have 3 loosely...
3
by: Claudio Pacciarini | last post by:
Hi everyone, I have a question about .NET code sharing and reuse, and also about application design best practices / guidelines. Currently, we have many different .NET projects in source...
4
by: =?Utf-8?B?VzFsZDBuZTc0?= | last post by:
When one architects a new project one of the first steps in the decision is to decide on the layers. (In my opinion anyway) One architecture that I have used before is to go solid OO and create...
2
by: Smithers | last post by:
I have a Windows Forms application that implements a plug-in architecture whereby required assemblies are identified and loaded dynamically. Here are the relevant classes: A = application =...
2
by: Smithers | last post by:
My ASP.NET Web app uses a few 3rd party assemblies. Just wondering when those are loaded into the Web app's AppDomain - and for how long do they stay loaded. Is an assembly loaded the first time...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.