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=1.0 required=5.0 tests=BAYES_20,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,470860aa3e635a7 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!v29g2000prd.googlegroups.com!not-for-mail From: Anatoly Chernyshev Newsgroups: comp.lang.ada Subject: GNAT for MS Visual Studio Date: Fri, 12 Oct 2007 22:03:24 -0000 Organization: http://groups.google.com Message-ID: <1192226604.816854.284830@v29g2000prd.googlegroups.com> NNTP-Posting-Host: 71.221.251.63 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1192226605 27997 127.0.0.1 (12 Oct 2007 22:03:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 12 Oct 2007 22:03:25 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: v29g2000prd.googlegroups.com; posting-host=71.221.251.63; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:2437 Date: 2007-10-12T22:03:24+00:00 List-Id: OK, I had no time to dig through all 99 posts. But I have my 2 cents to contribute. I decided to myself long time ago that if I ever need an interface for Ada program, that would be Visual Basic COM server communicating with the Ada core through GNATCOM. How it works: Ada core sends the commands to the VB server to show certain information to the user. VB server is capable only of getting the commands from the user and storing them in a buffer (simple array of integers; each integer corresponds to a command). Only when the Ada program decides to do so, it retrieves the commands from VB server and processes them accordingly. The best part of this "amateur architecture": if anyone hates the particular implementation of the interface, he can always write his own (text mode, Tcl/Tk, hardware, you name it). For example: I want to program a Civilization-like game, but I don't want to get bogged in fancy 3D interface quite yet. So I write quick text- mode interface, where the green rectangle is e.g. forest, blue - water, etc., and the units encoded with ASCII symbols... Now, when I'm satisfied with the game engine, I may ask graphical savvy somebody to build the beautiful interface in VB and then combine the both with a GNATCOM. Well, talk is cheap... I have a complete Ada-VB program to model dunes growth which implements the principles above. If anyone is interested to take a look at it, drop me a line at achernyshev [doggie] g--m--a-- i--l [period] com. It comes complete with compiled executables, sources and even documentation.