From: steved@pacifier.com (Steve Doiel)
Subject: Re: Ada callable from Visual Basic?
Date: 1997/10/19
Date: 1997-10-19T00:00:00+00:00 [thread overview]
Message-ID: <344a55ad.0@news.pacifier.com> (raw)
In-Reply-To: 62calr$hsk$1@tsunami.traveller.com
[snip]
>
>Oops, sorry. Let me step down from my stump, and meekly ask my
>original question again: How do I call Ada code from a Visual Basic
>GUI?
>
I'm not sure exactly how to do it with Visual Basic, but it's a trivial
exercise to do it with Delphi and ObjectAda 7.1. Presumably it's just as
easy to do with Visual Basic.
Using ObjectAda you can create a DLL that is callable from Delphi. In
ObjectAda you first create a package spec that contains everything to be
exported by the DLL (for each DLL), and then in Delphi you create stubs that
reference the DLL as external.
I believe you can do the same with GNAT. As a matter of fact Pascal Obry has
an example on his web page of how to call a GNAT DLL. I haven't tried this
with GNAT yet, but it took about 15 minutes to figure out how to make the
Delphi/ObjectAda combination work the first time.
If you like, I'd be happy to email you my trivial example.
Steve Doiel
steved@pacifier.com
next prev parent reply other threads:[~1997-10-19 0:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-19 0:00 Ada callable from Visual Basic? Dave Smith
1997-10-19 0:00 ` Steve Doiel [this message]
1997-10-20 0:00 ` Stephen Leake
1997-10-21 0:00 ` Dave Smith
1997-10-20 0:00 ` Larry Kilgallen
1997-10-20 0:00 ` Al Christians
1997-10-20 0:00 ` Tom Moran
1997-10-20 0:00 ` James S. Rogers
1997-10-25 0:00 ` Dave Wood
1997-10-21 0:00 ` Jerry van Dijk
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox