![]() |
|
#1
|
|||
|
|||
calling a DLL in a static libraryhi guys, we have a dll.we can call it using a source code in c++.but i am not able to call a DLL in a static library.i know this is possible.but i am not able to find the right oath.can any one help me?
i use visual c++. |
|||
|
#2
|
||||
|
||||
|
Hi csuohio.
Your question confuses me a bit. A DLL is a dynamically loadable library. It is not meant to be called as a static library. In order to link this statically at link time, you need to compile the source as a static library (.lib in windows I think). Then you can specify to link this library with your linker directly to your executable. HTH, d __________________
The best damn Sports Blog period. |
|
#3
|
|||
|
|||
i have to include a dll call in a static libraryThanks for ur reply, i know that dll is not meant to be called a dll.But, i have a software that dosnt support dlls.it can support only static libraries.so what i want to do is to build a static library which contains calls to dlls.so i want to know how dll calls can be made in a static library.
Quote:
|
|
#4
|
|||
|
|||
|
Quote:
|
Recent GIDBlog
Once again, no time for hobbies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| calling a DLL in static library in visual c++.net or visualc++ 6.0 | csuohio | MS Visual C++ / MFC Forum | 0 | 30-Jul-2004 15:35 |
| Calling functions within a function | spudtheimpaler | C Programming Language | 5 | 02-Mar-2004 09:02 |
| Configure Apache Accessable by using my static ip? | infolock | Apache Web Server Forum | 0 | 10-Dec-2003 15:59 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The