why does VC++ need .lib files for linking to functions in a dll

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi all,

i am working on a crossplatform shared library (so on linux and dll on
windows).

if i want to use that library in an app, on linux i only need to tell gcc to
use the library as an input.
on windows i need to either use the .lib file, or load the library manually.
what is the reason that VC++ can not use the dll directly for linking?

kind regards,
Bruno.


.



Relevant Pages

  • Re: Honestly Curious
    ... makes it necessary to put parts of the code outside the app. ... *all* Windows apps need to use dlls. ... Never heard of "dll Hell"? ... But then neither is using an uninstaller. ...
    (comp.sys.mac.advocacy)
  • Re: Trying out Linux for newbie
    ... mplayer seems to use windows codec.s Ask microsoft. ... > Does Linux play DVD films? ... Kill the app using "kill". ...
    (alt.os.linux)
  • Re: Linux, X, ld, gcc, linking, shared libraries and stuff
    ... otherwise...but has the addition of an extra API call, where you can specify an "event mask"...and then only those classes of events that you specify are delivered to the application... ... criticism of Windows here, in a sense: Just how stupid Microsoft were to ... filters all msgs on behalf of an app. ... posted to a Linux app when you move the mouse over it. ...
    (alt.lang.asm)
  • Re: Personal information handling in linux?
    ... > I have recently started to look into the possibility of migrating a ... I think you'll find that the linux paradigm is a bit different. ... Windows apps tend to try for the kitchen-sink approach: ...
    (comp.os.linux.misc)
  • Re: Moving From ProTools to Linux? Good or bad?
    ... basic audio i/o model. ... the most important parts of the current linux audio software "world" ... where every app can be used in collaboration with other ... works with windows because the mobo makers stuff "sekrit" info in the ...
    (rec.audio.pro)