Click here to Skip to main content
15,918,967 members
Home / Discussions / C#
   

C#

 
GeneralRe: TreeView Expand/Collapse animation Pin
Patrick Etc.9-Jan-08 13:02
Patrick Etc.9-Jan-08 13:02 
QuestionBeginning Programmer needs a little help Pin
Nekosohana9-Jan-08 6:04
Nekosohana9-Jan-08 6:04 
GeneralRe: Beginning Programmer needs a little help Pin
Luc Pattyn9-Jan-08 6:54
sitebuilderLuc Pattyn9-Jan-08 6:54 
GeneralRe: Beginning Programmer needs a little help Pin
Nekosohana9-Jan-08 6:58
Nekosohana9-Jan-08 6:58 
GeneralCom DLL file reference access ... Pin
Shahin779-Jan-08 5:37
Shahin779-Jan-08 5:37 
GeneralRe: Com DLL file reference access ... Pin
Dave Kreskowiak9-Jan-08 7:16
mveDave Kreskowiak9-Jan-08 7:16 
GeneralRe: Com DLL file reference access ... Pin
Shahin779-Jan-08 7:27
Shahin779-Jan-08 7:27 
GeneralRe: Com DLL file reference access ... Pin
Dave Kreskowiak9-Jan-08 7:48
mveDave Kreskowiak9-Jan-08 7:48 
There isn't a way around this. The dependancy is GOING to be there no matter if you use a reference or not.

With the reference, you just made using this library about 100x harder to use because now your developers have to write their own code to load the library, init it, lookup and instantiate objects, wire up events, ..., ..., ...

It's simply not worth it. There is no "easy" way around this.

If you've chosen to export your library as a COM-based .DLL, you've also locked yourself into DllHell and the dependancies that come with COM. You simply have no way around this.

Now, if the library is exported as a normal .NET library, the dependancies go away and you can even setup the app's app.config file to redirect dependancies to new version of the library assembly.



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




GeneralRe: Com DLL file reference access ... Pin
Shahin779-Jan-08 8:19
Shahin779-Jan-08 8:19 
GeneralRe: Com DLL file reference access ... [modified] Pin
Dave Kreskowiak9-Jan-08 9:14
mveDave Kreskowiak9-Jan-08 9:14 
QuestionHow Do I Prohibit Users From Sorting In A DataGridView Pin
Joe Marchionna9-Jan-08 5:24
Joe Marchionna9-Jan-08 5:24 
GeneralRe: How Do I Prohibit Users From Sorting In A DataGridView Pin
led mike9-Jan-08 5:33
led mike9-Jan-08 5:33 
GeneralRe: How Do I Prohibit Users From Sorting In A DataGridView Pin
Joe Marchionna9-Jan-08 5:40
Joe Marchionna9-Jan-08 5:40 
GeneralRe: How Do I Prohibit Users From Sorting In A DataGridView Pin
led mike9-Jan-08 6:03
led mike9-Jan-08 6:03 
GeneralRe: How Do I Prohibit Users From Sorting In A DataGridView Pin
Joe Marchionna9-Jan-08 8:42
Joe Marchionna9-Jan-08 8:42 
QuestionHow to delete a row from a dataGrid Pin
Imran Adam9-Jan-08 5:22
Imran Adam9-Jan-08 5:22 
GeneralSerializing ints, enums in hexidecimal Pin
Skippums9-Jan-08 4:50
Skippums9-Jan-08 4:50 
GeneralRe: Serializing ints, enums in hexidecimal Pin
Le centriste9-Jan-08 5:21
Le centriste9-Jan-08 5:21 
GeneralRe: Serializing ints, enums in hexidecimal Pin
Skippums9-Jan-08 8:10
Skippums9-Jan-08 8:10 
GeneralRe: Serializing ints, enums in hexidecimal Pin
Le centriste9-Jan-08 8:24
Le centriste9-Jan-08 8:24 
GeneralRe: Serializing ints, enums in hexidecimal Pin
Skippums9-Jan-08 9:27
Skippums9-Jan-08 9:27 
GeneralRe: Serializing ints, enums in hexidecimal Pin
Le centriste9-Jan-08 9:37
Le centriste9-Jan-08 9:37 
GeneralRe: Serializing ints, enums in hexidecimal Pin
Skippums9-Jan-08 10:17
Skippums9-Jan-08 10:17 
GeneralTo add to my other answer... Pin
Le centriste9-Jan-08 9:40
Le centriste9-Jan-08 9:40 
QuestionHow to invoke SQL Function through SqlCommand class Pin
El'Cachubrey9-Jan-08 4:06
El'Cachubrey9-Jan-08 4:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.