🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Point to function in package

#15847
From: Bob Gonder
Date: Mon, 09 Jun 2003 21:10
23 lines
1700 bytes
"Gareth" <spam@twichy.demon.co.uk> wrote:

>Where LiSetCreatedC is defined as:
>
>typedef void __declspec(dllimport) LSetLiCreatedC(void (__clousure *)(int, int));

Did you mean
typedef void(__declspec(dllimport) LSetLiCreatedC)(
			void(__closure*)(int, int));

>LSetLiCreatedC *LSetLiCreatedC;

I would have thought that was illegal (to also use a typedef name as a
variable name). Perhaps you meant

LSetLiCreatedC *LiSetCreatedC;

That would mean the following calls ?? who knows what, as
LiSetCreatedC has not been initialized.

>void TAl::SetCreatedC(void (__closure *tm)(int, int)){
>    LiSetCreatedC(tm);
>}
Technical Details
Message-ID: <t5t9evs25l8em6nvm50tq423uclgdg5j13@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ee4b6e1$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,539fe3b8aca8f5df
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-09 14:19:30 PST
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Point to function in package
Date: Mon, 09 Jun 2003 14:10:33 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <t5t9evs25l8em6nvm50tq423uclgdg5j13@4ax.com>
References: <3ee4b6e1$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.31.165.28
X-Trace: newsgroups.borland.com 1055193034 67.31.165.28 (9 Jun 2003 14:10:34 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail