From: "John E. Bossom" <drifting@pioneerwireless.ca>
To: pthreads-win32@sourceware.org
Subject: Re: Static Library Initialization (again?)
Date: Wed, 18 Jun 2008 14:09:00 -0000 [thread overview]
Message-ID: <20080618100431.fxhlogv6sksc88sw@webmail.pioneerwireless.ca> (raw)
In-Reply-To: <54b165660806171627i489ec78at85e8576762fe97af@mail.gmail.com>
Quoting Brian Cole <coleb2@gmail.com>:
> Why can't DllMain be used for this? MSDN seems to imply that DllMain
> is called for static libraries
> (http://msdn.microsoft.com/en-us/library/ms682583.aspx):
> "The lpReserved parameter indicates whether the DLL is being loaded
> statically or dynamically."
You can statically link against the implib of a DLL or dynamically load
the DLL at run time. Regardless a DLL is a DLL is a DLL. That is
what they mean in MSDN... DllMain only exists for DLLs not static libraries.
next prev parent reply other threads:[~2008-06-18 14:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-17 23:28 Brian Cole
2008-06-18 1:25 ` Ross Johnson
2008-06-18 14:09 ` John E. Bossom [this message]
2009-05-22 0:08 ` Ramiro Polla
2009-05-22 2:36 ` John E. Bossom
2009-06-07 23:39 ` Ramiro Polla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080618100431.fxhlogv6sksc88sw@webmail.pioneerwireless.ca \
--to=drifting@pioneerwireless.ca \
--cc=pthreads-win32@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).