lib file and static linking
Tech-Archive recommends: Fix windows errors by optimizing your registry
hi all
i have an application and i use the static linking of some lib file. as
i understand the static linking , the code will the INJECTED into my
exe rather than being picked from the dll at the run time due to the
static linking.
however i want to know from where in the lib file the code comes from
(the one that gets injected into exe file)??? does the lib file
contains the code for the exported functions or it contains only the
imported and exported functions ?
thanks
ravinder thakur
.
Relevant Pages
- Re: lib file and static linking
... i understand the static linking, the code will the INJECTED into my ... exe rather than being picked from the dll at the run time due to the ... contains the code for the exported functions or it contains only the ... for dlls, the functions are in the dll, and loaded dynamically. ... (microsoft.public.vc.language) - Re: gcc - How to link the RTL statically ?
... start investigating the problem YOU have with static linking. ... ilink.exe leads to slightly smaller exe, ... link386.exe to slightly larger exe. ... EMX, unless one uses -Zsys, all calls to OS's "services" are ... (comp.os.os2.programmer.misc) - Re: how to use a function from a 3rd party library
... > apparently related to my linking situation. ... The lib file is used only at link time. ... exe to call the DLL functions at run time. ... same directory as your debug exe. ... (microsoft.public.vc.mfc) - Re: Target Machine Error
... also my app appears to need SP2, would static linking correct this? ... If your applications consists of just a single .exe, with no DLL's of your own creation, it can almost certainly be static linked. ... If your application uses its own DLL's in addition to the .exe then it may or may not be possible to static link it. ... When you do a static link build al the MFC and CRT code is embedded into your .exe. ... (microsoft.public.vc.mfc) - Re: /MD vs /MT
... but I handle them by selecting options in the "Project Properties". ... Note that /MD is very carefully stated as creating a DLL, and you would use this if you ... would be used only if you were created a .exe file. ... A .lib file is something else entirely. ... (microsoft.public.vc.mfc) |
|