Dll basic question

  • Thread starter Thread starter JM
  • Start date Start date
J

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
 
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
 
JM said:
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.
 
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....
 
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
 
Back
Top