PC Review


Reply
Thread Tools Rate Thread

beginner quest is reference compiled into app dll

 
 
mp
Guest
Posts: n/a
 
      11th Jul 2010
If I create a dll (myapp)
and myapp project has a reference to another dll on my system (C:\path to
\some.dll)
when I build myapp.dll does it contain everything it needed from the
referenced dll?
so if i copy my dll to someone elses machine i don't have to recreate the
referenced files and paths on the target machine?
should i be able to just copy my one dll to the target machine and it will
run?
thanks
mark


 
Reply With Quote
 
 
 
 
Armin Zingler
Guest
Posts: n/a
 
      11th Jul 2010
Am 11.07.2010 23:14, schrieb mp:
> If I create a dll (myapp)
> and myapp project has a reference to another dll on my system (C:\path to
> \some.dll)
> when I build myapp.dll does it contain everything it needed from the
> referenced dll?
> so if i copy my dll to someone elses machine i don't have to recreate the
> referenced files and paths on the target machine?
> should i be able to just copy my one dll to the target machine and it will
> run?


No, you need them all. dll = dynamic link library <> static linking


--
Armin
 
Reply With Quote
 
 
 
 
mp
Guest
Posts: n/a
 
      11th Jul 2010

"Armin Zingler" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Am 11.07.2010 23:14, schrieb mp:
>> If I create a dll (myapp)
>> and myapp project has a reference to another dll on my system (C:\path to
>> \some.dll)
>> when I build myapp.dll does it contain everything it needed from the
>> referenced dll?
>> so if i copy my dll to someone elses machine i don't have to recreate the
>> referenced files and paths on the target machine?
>> should i be able to just copy my one dll to the target machine and it
>> will
>> run?

>
> No, you need them all. dll = dynamic link library <> static linking
>
>
> --
> Armin


does the path to the reference have to be the same as what is referenced in
the project?
or can i just copy the dlls into the same folder and the app.dll will find
the ref.dll?
thanks
mark


 
Reply With Quote
 
Armin Zingler
Guest
Posts: n/a
 
      12th Jul 2010
Am 12.07.2010 00:13, schrieb mp:
>> No, you need them all. dll = dynamic link library <> static linking
>>
>>

>
> does the path to the reference have to be the same as what is referenced in
> the project?
> or can i just copy the dlls into the same folder and the app.dll will find
> the ref.dll?


Should be fine if in the same folder.

In general:
http://msdn.microsoft.com/en-us/library/yx7xezcf.aspx

--
Armin
 
Reply With Quote
 
mp
Guest
Posts: n/a
 
      12th Jul 2010
thank you Armin.
mark

"Armin Zingler" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Am 12.07.2010 00:13, schrieb mp:
>>> No, you need them all. dll = dynamic link library <> static linking
>>>
>>>

>>
>> does the path to the reference have to be the same as what is referenced
>> in
>> the project?
>> or can i just copy the dlls into the same folder and the app.dll will
>> find
>> the ref.dll?

>
> Should be fine if in the same folder.
>
> In general:
> http://msdn.microsoft.com/en-us/library/yx7xezcf.aspx
>
> --
> Armin



 
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
add reference to project vs. add reference to compiled code (dll orexe) GiJeet Microsoft C# .NET 3 30th Oct 2008 09:56 PM
If I create a page, then it's compiled upon first request, where cani find the compiled code?? lander Microsoft ASP .NET 5 5th Mar 2008 05:34 PM
Beginner Quest: How To Display a Formula That's Used In A Cell ? Robert11 Microsoft Excel Discussion 2 16th Jan 2004 03:54 AM
Beginner quest. on buttons and more H Microsoft C# .NET 0 18th Dec 2003 01:42 AM
Quest: Inserting records into a table with Pri Key set from ASP.NET app... lewi Microsoft C# .NET 7 13th Dec 2003 06:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:05 PM.