🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #2593

Re: Server Socket DLL calling external function

#2593
From: Remy Lebeau (TeamB)
Date: Mon, 13 Mar 2006 20:29
16 lines
1287 bytes
"Colin B Maharaj" <noreply@myhost.com> wrote in message
news:4414209d@newsgroups.borland.com...

> The thing is I want to call a function from the DLL that exists on
> the calling application, whenever the OnExecute fires.

You would need to have the application pass a function pointer to the DLL.
Then the DLL can store that pointer and call it when needed.

> Is this what they call callback?

Yes.


Gambit
Technical Details
Message-ID: <4415d5ca$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4414209d@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,635d156d10eec29e
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <4414209d@newsgroups.borland.com>
Subject: Re: Server Socket DLL calling external function
Date: Mon, 13 Mar 2006 12:29:12 -0800
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4415d5ca$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1142281674 68.69.17.41 (13 Mar 2006 12:27:54 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail