![]() |
|
#1
|
|||
|
|||
Static link a dll?Hi, I have only a kind of broad grasp of binding and the static / dynamic difference as well but heres my issue:
When I use someone else's library and I am given a .h and a .dll, then I just setup some folders in my libraries directory, add the path to windows, and add the include and lib path to visual studio (2005). This works great... when I'm at home....but if I want to send my program to work or to a friend.... how do I accomplish this ? Is there some way I can keep those files locally in my project and load them directly from "any" computer ? |
|||
|
#2
|
|||
|
|||
Re: Static link a dll ?Quote:
|
|
#3
|
|||
|
|||
Re: Static link a dll?There are 2 ways.
1. As suggested by mikhail, put the libraries in one folder and move around with our code or program as a package. 2. VS has a option to pack the libraries and your program together, and generate as exe or dll. |
|
#4
|
|||
|
|||
Re: Static link a dll?Ok, I will try this. Thanks guys
|
|
#5
|
|||
|
|||
Re: Static link a dll?How to 2. VS has a option to pack the libraries and your program together, and generate as exe or dll use thi soption ?
Thanks. __________________
Linux is the best OS in the world. |
Recent GIDBlog
Updates On The All New Toyota VIOS - Part III by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Str_Misaligned in Double Link List | Peter_APIIT | C Programming Language | 1 | 29-Feb-2008 20:50 |
| Code Snipet For Doubly Linked List | Danny | C Programming Language | 8 | 19-Feb-2008 11:37 |
| RE:" THE BOUNCING BALL in C++" | lucamarcus | MS Visual C++ / MFC Forum | 4 | 22-Oct-2007 09:31 |
| triangle (polygon), drawing, sizing, and rotation programme using linked lists... | promsan | C Programming Language | 12 | 14-May-2007 14:03 |
| Anything i can do with static addActionListener(this); | RobRob47 | Java Forum | 2 | 26-Mar-2007 12:17 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The