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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,66123ca9887d5001 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-15 10:38:07 PST Path: supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "David Botton" Newsgroups: comp.lang.ada Subject: Re: GNATCOM & Microsoft VB Date: Mon, 15 Jan 2001 13:46:44 -0500 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: <003401c07f23$82ab4820$f8ffa8c0@dbdell2000> References: <93tmsd$dr5$1@nnrp1.deja.com> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 979583831 25906 137.194.161.2 (15 Jan 2001 18:37:11 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 15 Jan 2001 18:37:11 +0000 (UTC) To: Return-Path: X-pair-Authenticated: 63.161.15.130 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0beta5 Precedence: bulk List-Id: comp.lang.ada mail<->news gateway Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: supernews.google.com comp.lang.ada:4019 Date: 2001-01-15T13:46:44-05:00 ----- Original Message ----- From: "Chris Miller" > 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