Home All Groups Group Topic Archive Search About
Author
5 Aug 2006 6:33 AM
JM
Hi,

I have create several Dll to be used in my programs. Until now each Dll
contains only one class (with several functions inside), my question is:

Is by any means possible to create a Dll with several classes inside?, if
so, How?.
That is: I need something like: "MyDll.MyClass1.MyFunction1" but also
"MyDll.MyClass2.MyFunction5"

Thanks,

Jamie

Author
5 Aug 2006 7:47 AM
Lars Graeve
Hi Jamie,

create a new project an copy all your classes to it. Compile and be happy.
The way to acccess the classes is fully right.

Greeting, Lars


Show quoteHide quote
"JM" <j***@ya.com> schrieb im Newsbeitrag
news:O5ReDkFuGHA.4160@TK2MSFTNGP06.phx.gbl...
> Hi,
>
> I have create several Dll to be used in my programs. Until now each Dll
> contains only one class (with several functions inside), my question is:
>
> Is by any means possible to create a Dll with several classes inside?, if
> so, How?.
> That is: I need something like: "MyDll.MyClass1.MyFunction1" but also
> "MyDll.MyClass2.MyFunction5"
>
> Thanks,
>
> Jamie
>
Author
5 Aug 2006 10:45 AM
Herfried K. Wagner [MVP]
"JM" <j***@ya.com> schrieb:
> I have create several Dll to be used in my programs. Until now each Dll
> contains only one class (with several functions inside), my question is:
>
> Is by any means possible to create a Dll with several classes inside?, if
> so, How?.
> That is: I need something like: "MyDll.MyClass1.MyFunction1" but also
> "MyDll.MyClass2.MyFunction5"

Yes, simply add additional classes to your class library project.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
5 Aug 2006 3:50 PM
Grumpy Aero Guy
Or, you clould wrap all of the individual classes into one namespace....
(Namespace ... End Namespace)

Then, an end user only has to know the name of the namepsace and can
navigate thru from there....



--
Grumpy Aero Guy



Show quoteHide quote
"JM" <j***@ya.com> wrote in message
news:O5ReDkFuGHA.4160@TK2MSFTNGP06.phx.gbl...
> Hi,
>
> I have create several Dll to be used in my programs. Until now each Dll
> contains only one class (with several functions inside), my question is:
>
> Is by any means possible to create a Dll with several classes inside?, if
> so, How?.
> That is: I need something like: "MyDll.MyClass1.MyFunction1" but also
> "MyDll.MyClass2.MyFunction5"
>
> Thanks,
>
> Jamie
>
Author
6 Aug 2006 7:16 PM
GhostInAK
Hello Grumpy,

Right, because popping up the Object Browser is too difficult, so instead
the library designer should dis/de-organize their library.  Use as many namespaces
as seems logical to organize your classes.  If people are too stoopid to
use the tools given them, hell with em.

-Boo

Show quoteHide quote
> Or, you clould wrap all of the individual classes into one
> namespace.... (Namespace ... End Namespace)
>
> Then, an end user only has to know the name of the namepsace and can
> navigate thru from there....
>
> "JM" <j***@ya.com> wrote in message
> news:O5ReDkFuGHA.4160@TK2MSFTNGP06.phx.gbl...
>
>> Hi,
>>
>> I have create several Dll to be used in my programs. Until now each
>> Dll contains only one class (with several functions inside), my
>> question is:
>>
>> Is by any means possible to create a Dll with several classes
>> inside?, if
>> so, How?.
>> That is: I need something like: "MyDll.MyClass1.MyFunction1" but also
>> "MyDll.MyClass2.MyFunction5"
>> Thanks,
>>
>> Jamie
>>