PC Review


Reply
Thread Tools Rate Thread

dll inside a dll?

 
 
=?Utf-8?B?b3NjYXI=?=
Guest
Posts: n/a
 
      15th Feb 2005

is it possible to reference a dll that is inside another dll?

in our program we have a solution called functions.dll and we are also using
the mysql.data.dll in all our other solutions. is there a way to reference
the mysql.data.dll in each solution by only making the functions.dll one of
the references? i tried it by just having the "using mysql" in the
functions.dll but it does not seem to work. is this possible or not?

thanx in advance for the help
 
Reply With Quote
 
 
 
 
Sean Hederman
Guest
Posts: n/a
 
      15th Feb 2005
You need to reference an assembly which you directly use in all assemblies
in which you use it. Directly using an assembly means using any of the types
declared in the assembly, or calling any methods that return or take as
parameters types declared in the assemblies. To do what you want to do,
you'd have to completely wrap all mysql.data types within functions that do
not accept or return any types declared in mysql.data.

So, the basic answer is that it's better to just reference the mysql.data
assembly in functions and in your other projects.

"oscar" <(E-Mail Removed)> wrote in message
news:C9E0482D-F328-4619-9CE0-(E-Mail Removed)...
>
> is it possible to reference a dll that is inside another dll?
>
> in our program we have a solution called functions.dll and we are also
> using
> the mysql.data.dll in all our other solutions. is there a way to
> reference
> the mysql.data.dll in each solution by only making the functions.dll one
> of
> the references? i tried it by just having the "using mysql" in the
> functions.dll but it does not seem to work. is this possible or not?
>
> thanx in advance for the help



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ZFD Data which I found inside my software section inside HKEY LOCAL MACHINE Terence Windows XP General 0 6th Apr 2004 03:07 AM
Dynamic temp. datagrid col.gen. -Session access inside a class inside a UserCtrl Andy Eshtry Microsoft ASP .NET 0 1st Mar 2004 11:48 PM
Dynamic temp. datagrid col.gen. -Session access inside a class inside a UserCtrl Andy Eshtry Microsoft Dot NET 0 1st Mar 2004 11:47 PM
Dynamic temp. datagrid col.gen. -Session access inside a class inside a UserCtrl Andy Eshtry Microsoft C# .NET 0 1st Mar 2004 11:47 PM
Dynamic temp. datagrid col.gen. -Session access inside a class inside a UserCtrl Andy Eshtry Microsoft VB .NET 0 1st Mar 2004 11:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:35 PM.