Re: Having trouble understanding assemblies

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: David Browne (meat_at_hotmail.com)
Date: 06/22/04


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



Relevant Pages

  • Code Centralization
    ... Code must reside in the vb editor. ... DLL's are data link ... >Perhaps a VB6 DLL or VB.NET addin. ...
    (microsoft.public.excel.programming)
  • Re: MASM as an addition to the VC Express edition now available
    ... Why do you write your editor and debugger yourself, ... Call for an Edit DLL? ... Because it is simpler than to rewrite our own from ... syntax, modify the HLA source to make your own "preparser" ...
    (alt.lang.asm)
  • Re: Having trouble understanding assemblies
    ... > I have an editor exe and a dll written in C#. ... > closely related to the dll and needs full access to it. ... > app can have access to some things, but my editor app is in a ... > 'client' to my dllin the same way other apps would be. ...
    (microsoft.public.dotnet.framework)
  • Re: Stripping functions from a DLL - offer wanted
    ... Sure, I am subtracting the image base address, of course. ... 1) If RosAsm is able or not (it may ... to recompile the DLL. ... Inside RosAsm Editor, ...
    (alt.lang.asm)
  • Re: Having trouble understanding assemblies
    ... >The editor exe is closely related to the dll and needs full access to it. ... I'd split up the functionality you need into two separate DLL's: ... needs, which are not covered in BasicFuncs.dll, and which other folks ...
    (microsoft.public.dotnet.framework)