Re: C coding guidelines
- From: Richard Heathfield <rjh@xxxxxxxxxxxxxxx>
- Date: Wed, 09 Sep 2009 11:23:09 +0000
In <I2Mpm.179471$0e4.110025@xxxxxxxxxxxx>, Tech07 wrote:
Richard Heathfield wrote:
<snip>
The entry point(s) of a DLL must be a function (or functions)
within that DLL.
<snip>
It doesn't matter what text is in your source file.
Actually, I think it /does/ matter in the sense that the true entry
point into source code is a part of the source code. Nevertheless,
for *your* argument it *does* matter what is in the generated DLL
itself. Recognising this, I posted the output of strings(1) on the
..dll file itself, in a reply some days ago which you should still be
able to find, upthread. It contains no DLLMain.
What matters is
what exists after the compiler/linker get done with it.
Right. And after the compiler (not linker, obviously, because it's a
library) is done with it, it contains no functions whatsoever with
the name DLLMain or anything like that name.
--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
"Usenet is a strange place" - dmr 29 July 1999
Sig line vacant - apply within
.
- Follow-Ups:
- Re: C coding guidelines
- From: Tech07
- Re: C coding guidelines
- From: Bart
- Re: C coding guidelines
- References:
- Re: C coding guidelines
- From: Tech07
- Re: C coding guidelines
- From: Tech07
- Re: C coding guidelines
- From: Bart
- Re: C coding guidelines
- From: Tech07
- Re: C coding guidelines
- From: Bart
- Re: C coding guidelines
- From: Tech07
- Re: C coding guidelines
- From: Richard Heathfield
- Re: C coding guidelines
- From: Tech07
- Re: C coding guidelines
- From: Richard Heathfield
- Re: C coding guidelines
- From: Tech07
- Re: C coding guidelines
- Prev by Date: Re: Algorithms in C - Robert Sedgewick
- Next by Date: Re: Algorithms in C - Robert Sedgewick
- Previous by thread: Re: C coding guidelines
- Next by thread: Re: C coding guidelines
- Index(es):
Relevant Pages
|