From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,97d5e85b59d5e24c X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews2.google.com!not-for-mail From: rhezusfactor@yahoo.com (Johnswort) Newsgroups: comp.lang.ada Subject: Re: Ada equivalent to С++ header sentence. Date: 20 Aug 2004 12:11:51 -0700 Organization: http://groups.google.com Message-ID: <3f27506b.0408201111.16d1bda9@posting.google.com> References: <3f27506b.0408200022.76094a5e@posting.google.com> NNTP-Posting-Host: 128.255.72.219 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1093029112 21678 127.0.0.1 (20 Aug 2004 19:11:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 20 Aug 2004 19:11:52 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:2898 Date: 2004-08-20T12:11:51-07:00 List-Id: Stephen Leake wrote in message news:... > 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.