TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
"Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Fri, 17 Sep 1999 02:53:58 -0400
"Richard L. Conn" <[log in to unmask]>
"Richard L. Conn" <[log in to unmask]>
text/plain; charset="iso-8859-1"
text/plain (66 lines)
That's very good, David,

I like your extended examples with COM and DLL.

We should build our combined works together into an integrated picture.
I think it's a good story to tell, along with the web interface story.

Richard Conn, ASE and PAL Manager

> -----Original Message-----
> From: David Botton [mailto:[log in to unmask]]
> Sent: Thursday, September 16, 1999 1:02 PM
> To: Richard L. Conn; [log in to unmask]
> Subject: Re: Online example of a Visual Basic program running an Ada
> program
> Your are very correct in the Ada integrates well with
> VB and that GUIs, etc. can be done in VB and that use
> Ada Code. in your code you are just shelling out to
> Ada from VB. I have also, integrated VB and Ada using
> these methods:
> 1. Using COM
> 2. Using a DLL
> 3. Using a DLL and a Type Library that has the DLL
> spec
> The COM option is a increadibly easy now using
> CreateCOM (see
> 1) You create a simple IDL file defining the COM
> object
> 2) Compile it to a type lib using MIDL
> 3) Run CreateCOM on it
> 4) Fill in the bodies of the interface methods for the
> COM object with your Ada code.
> 5) Compile the Ada code
> 6) Register the Dll or Exe version of the COM object
> You can then easily access the object from VB or any
> other language! In VB just select the Ada COM object
> from the menu and start using it.
> You can do more advance COM stuff like events, etc.
> also. I am continuing to work on the tools and COM
> frameworks. Soon it will be possible to create a less
> powerful COM object using a couple of lines of Ada
> code with out going through the IDL, TypeLib, and
> tools. An Ada tool to create TypeLibs is also planned.
> David Botton
> --- "Richard L. Conn" <[log in to unmask]> wrote:
> > I just finished including a series on a Visual Basic
> > program running
> > an Ada program.
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at