comp.lang.ada
 help / color / mirror / Atom feed
From: "David Botton" <David@Botton.com>
To: <comp.lang.ada@ada.eu.org>
Subject: Re: GNATCOM & Microsoft VB
Date: Mon, 15 Jan 2001 13:46:44 -0500
Date: 2001-01-15T13:46:44-05:00	[thread overview]
Message-ID: <003401c07f23$82ab4820$f8ffa8c0@dbdell2000> (raw)
In-Reply-To: 93tmsd$dr5$1@nnrp1.deja.com


----- Original Message -----
From: "Chris Miller" <chrismil@my-deja.com>


> However one that is interesting is to write the front end GUI part
> using MS Visual Basic (or Visual Studio, which is VB + Visual
> everything else), generate a COM interface to the GUI components and
> then use GNATCOM to generate Ada 95 bindings to the COM object.

It has certainly been done and does work. You may also consider turning your
Ada application in to a COM object and the controling it from the VB GUI,
this often (although not always) is easier to implement.

> Result - Microsoft front end, existing Ada 95 back end. Looks like a PC
> application, runs on a PC. If it needs to be distributed we move to
> COM+ with minimal (?) change.

GNATCOM fully supports COM+ and the ability to distribute your application
with no change to your code. If you choose to do the front end in VB with
the Ada program as a COM object you just run the executable created by
*-remote.adb on the client machines and your VB front end will instantly
have access to your COM object (you may need to configure permissions using
dcomcnfg on the server machine first).

> I note GNATCOM already has AdatoVB and VBtoAda samples.

Yup.

> Is it a good idea ?.

It certainly works well. BTW, GNATCOM is fully supported by ACT, Inc. if you
should choose to go forward with the project.

David Botton






  parent reply	other threads:[~2001-01-15 18:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-15  2:22 GNATCOM & Microsoft VB Chris Miller
2001-01-15 14:58 ` Ted Dennison
2001-01-15 18:46 ` David Botton [this message]
2001-01-16  0:51   ` Chris Miller
2001-01-15 21:45 ` Hennie
2001-01-17 15:06   ` David Botton
2001-01-16 21:54     ` Hennie
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox