Re: C coding guidelines
- From: "Tech07" <tech07@xxxxxxxxxx>
- Date: Thu, 10 Sep 2009 00:37:48 -0500
Richard Heathfield wrote:
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.
Because the compiler included it for you and is using the default DLLMain.
.
- Follow-Ups:
- Re: C coding guidelines
- From: Richard Heathfield
- 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
- From: Richard Heathfield
- Re: C coding guidelines
- Prev by Date: Download Free Software
- Next by Date: Re: When will C have an object model?
- Previous by thread: Re: C coding guidelines
- Next by thread: Re: C coding guidelines
- Index(es):
Relevant Pages
|