Re: Having trouble understanding assemblies
From: David Browne (meat_at_hotmail.com)
Date: 06/22/04
- Next message: kammj: "Using Excel as a datasource without losing records"
- Previous message: RichM: "Having trouble understanding assemblies"
- In reply to: RichM: "Having trouble understanding assemblies"
- Next in thread: Jon Skeet [C# MVP]: "Re: Having trouble understanding assemblies"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 22 Jun 2004 14:08:28 -0500
"RichM" <RichM@discussions.microsoft.com> wrote in message
news:E4DCD1FE-C2AA-4F3A-8C15-8E5962E4044B@microsoft.com...
> Here is my scenario:
>
> I have an editor exe and a dll written in C#. The editor exe is closely
related to the dll and needs full access to it. However, the dll will also
be used in a more limited fashion by client applications other than the
editor application. I would like to use the 'internal' keyword on my dll's
classes so that only the editor app can have access to some things, but my
editor app is in a different assembly so that doesn't work. My editor app
is not a 'client' to my dll in the same way other apps would be.
>
> Can I use the 'internal' keyword to provide access to my app if I create a
multifile assembly? How do I get my IDE to do this? I can't figure it out.
>
> How do I handle this situation?
You probably just push the functionality into the DLL. A dll can have
forms, you know. Then your EXE project is just a thin wrapper around the
functionality in the DLL.
David
- Next message: kammj: "Using Excel as a datasource without losing records"
- Previous message: RichM: "Having trouble understanding assemblies"
- In reply to: RichM: "Having trouble understanding assemblies"
- Next in thread: Jon Skeet [C# MVP]: "Re: Having trouble understanding assemblies"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|