Linking with comctl32 lib
Gary R. Van Sickle
g.r.vansickle@worldnet.att.net
Thu Sep 15 04:52:00 GMT 2005
> From: Bryan Siever
> Sent: Wednesday, September 14, 2005 11:32 PM
> To: cygwin@cygwin.com
> Subject: Linking with comctl32 lib
>
> Greetings,
> This question came up after a lively discussion with several
> other developers. Let me clarify my question.
> You build a standalong windows app and link in
> (statically) the comctl32.dll into your app.
By definition that is impossible. The "D" in DLL stands for "Dynamic".
> You then want to
> deploy your application, your application now contains parts
> of the dll but not all of them due to static linking.
No, it doesn't. The .lib you linked to is a stub. It doesn't contain any
part of the DLL code, regardless of how much of the library you use. IIUC,
the .lib under discussion isn't even of Microsoft origin; it's generated by
a Cygwin or Mingw program.
--
Gary R. Van Sickle
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list