From: rhezusfactor@yahoo.com (Johnswort)
Subject: Re: Ada equivalent to С++ header sentence.
Date: 20 Aug 2004 12:11:51 -0700
Date: 2004-08-20T12:11:51-07:00 [thread overview]
Message-ID: <3f27506b.0408201111.16d1bda9@posting.google.com> (raw)
In-Reply-To: mailman.5.1093005464.28011.comp.lang.ada@ada-france.org
Stephen Leake <stephen_leake@acm.org> wrote in message news:<mailman.5.1093005464.28011.comp.lang.ada@ada-france.org>...
> equivalent in Ada is a function access type:
>
> type T_hcConnect is access function (lszCmd : in LPSTR) return BOOL;
> importing DLLs. Or, as someone else pointed out, try using GNATCOM.
Thank you all, I'll try the thing above. I like GNATCOM a lot, but
this is not the case where it's usable. Of course, I could have
written ActiveX in VB and pass it to GNATCOM, but it's a mess indeed.
And if somebody asks why not use just VB if the interface is available
- it doesnt work right all the time, which annoys me.
next prev parent reply other threads:[~2004-08-20 19:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-20 8:22 Ada equivalent to С++ header sentence Johnswort
2004-08-20 11:17 ` Jeff C,
2004-08-20 12:37 ` Stephen Leake
2004-08-20 12:53 ` Frank J. Lhota
2004-08-20 19:11 ` Johnswort [this message]
2004-08-24 3:32 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox