🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5080

Re: dll entry point

#5080
From: Remy Lebeau (TeamB)
Date: Wed, 09 Nov 2005 03:59
15 lines
1608 bytes
"Pawel Tatera" <paweltatera@pa80.chodziez.sdi.tpnet.pl> wrote in message 
news:4371283c@newsgroups.borland.com...

> Try this inside your cpp file that will be compiled as dll

That will not work.  For starters, the entry point is not an exported 
function to begin with.  Look at the exports of any compiled DLL.  You will 
never see DllEntryPoint() or DllMain() ever exported.  That is not how entry 
points work.  Entry points are configured in the startup code of the 
compiled DLL.  The OS does not call the entry point directly.  The DLLL's 
own startup code does.


Gambit 
Technical Details
Message-ID: <437176ba$6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43712644$1@newsgroups.borland.com> <4371283c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ca4d130f24202b65
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43712644$1@newsgroups.borland.com> <4371283c@newsgroups.borland.com>
Subject: Re: dll entry point
Date: Tue, 8 Nov 2005 19:59:38 -0800
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 66.114.246.244
Message-ID: <437176ba$6@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1131509434 66.114.246.244 (8 Nov 2005 20:10:34 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail