Article View: borland.public.cppbuilder.nativeapi
Article #15856Re: Point to function in package
From: Gareth
Date: Tue, 10 Jun 2003 08:57
Date: Tue, 10 Jun 2003 08:57
34 lines
2017 bytes
2017 bytes
Bob Gonder <notbg@notmindspring.invalid> wrote:
Thanks for your response. This morning i have created a package that exports only one function taking the function pointers that i require. This package seems to work ok so there must be something wrong with my other one, oh joy!
Thanks again,
Gareth.
>"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:
<3ee59d80$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!sn-xit-08!supernews.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-mailReferences:
<3ee4b6e1$1@newsgroups.borland.com> <t5t9evs25l8em6nvm50tq423uclgdg5j13@4ax.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-10 02:31:38 PST From: "Gareth" <spam@twichy.demon.co.uk> Sender: "Gareth" <spam@twichy.demon.co.uk> Reply-To: "Gareth" <spam@twichy.demon.co.uk> Subject: Re: Point to function in package Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 80.177.4.119 80.177.4.119 X-Forwarded-For: 10.0.0.99 References: <3ee4b6e1$1@newsgroups.borland.com> <t5t9evs25l8em6nvm50tq423uclgdg5j13@4ax.com> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3ee59d80$1@newsgroups.borland.com> Date: 10 Jun 2003 01:57:36 -0700 X-Trace: newsgroups.borland.com 1055235456 207.105.83.65 (10 Jun 2003 01:57:36 -0700) Lines: 35 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!sn-xit-08!supernews.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