TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Subject:
From:
"Richard L. Conn" <[log in to unmask]>
Reply To:
Richard L. Conn
Date:
Fri, 17 Sep 1999 02:53:58 -0400
Content-Type:
text/plain
Parts/Attachments:
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.

Rick
----------------------------------
Richard Conn, ASE and PAL Manager
http://xenadu.home.mindspring.com/

> -----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 http://www.adapower.com/com):
>
> 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 http://auctions.yahoo.com

ATOM RSS1 RSS2