Re: how to get .lib from .dll
From: Matt Taylor (para_at_tampabay.rr.com)
Date: 12/29/03
- Next message: arargh312NOSPAM_at_NOW.AT.arargh.com: "Re: handling exceptions in msdos"
- Previous message: Frank Kotler: "Re: handling exceptions in msdos"
- In reply to: Tim Roberts: "Re: how to get .lib from .dll"
- Next in thread: Madhur: "Re: how to get .lib from .dll"
- Reply: Madhur: "Re: how to get .lib from .dll"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Dec 2003 05:54:04 +0000 (UTC)
"Tim Roberts" <timr@probo.com> wrote in message
news:i64vuv0a0sjflo7rlaqnon234fp012572n@4ax.com...
<snip>
> crtdll.dll contains a DLL version of the C runtime library. Everything in
> there is also available in LIBC.LIB, which has the advantage of linking
> directly with your application and avoiding another DLL load.
<snip>
Static linking is only appropriate if you have one single binary. Otherwise
you will get 2 copies of the C runtime. Not only is this larger, but it will
cause problems when trying to share things like buffers, FILE objects, and
other persistent C runtime data. I find it easier to dynamic link and
completely avoid such issues. You can link the C runtime dynamically by
using other libs such as libcmt.lib.
Also, it is worth pointing out that most libc functions are provided by the
Win32 system itself.
-Matt
- Next message: arargh312NOSPAM_at_NOW.AT.arargh.com: "Re: handling exceptions in msdos"
- Previous message: Frank Kotler: "Re: handling exceptions in msdos"
- In reply to: Tim Roberts: "Re: how to get .lib from .dll"
- Next in thread: Madhur: "Re: how to get .lib from .dll"
- Reply: Madhur: "Re: how to get .lib from .dll"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|