|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Dll basic questionHi,
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 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 > "JM" <j***@ya.com> schrieb: Yes, simply add additional classes to your class library project.> 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" -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> 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.... -- Show quoteHide quoteGrumpy Aero Guy "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 > 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 >>
Create DLL in Visual Studio 2005 accessible by Excel 2002
UDP Sending an array possible? closing all applicatios vs processes UpdateDB from DataSet VS 2005 form designer major problem Public definitions in module - VS 2005 using excel before windows shutdown how to appened data into a arraylist? Assign a value to groupbox from a radiobutton contained in groupbo Writing a blank line under an if statement |
|||||||||||||||||||||||