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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,470860aa3e635a7 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII Newsgroups: comp.lang.ada Subject: Re: GNAT for MS Visual Studio References: <13duou81kg3sd1c@corp.supernews.com> <13f3e0vbb05s47c@corp.supernews.com> <13f6eg0te46m2a3@corp.supernews.com> From: Markus E L Date: Tue, 25 Sep 2007 13:20:49 +0200 Message-ID: User-Agent: Some cool user agent (SCUG) Cancel-Lock: sha1:sKuL0k5RtmpW5DfOkx/IX5rbOPw= MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 88.74.44.84 X-Trace: news.arcor-ip.de 1190718945 88.74.44.84 (25 Sep 2007 13:15:45 +0200) X-Complaints-To: abuse@arcor-ip.de Path: g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed2.scan-plus.net!newsfeed.velia.net!news-fra1.dfn.de!newsfeed.arcor-ip.de!news.arcor-ip.de!not-for-mail Xref: g2news2.google.com comp.lang.ada:2133 Date: 2007-09-25T13:20:49+02:00 List-Id: "Steve" wrote: > "Jean-Pierre Rosen" wrote in message > news:rkr7df.7mp.ln@hunter.axlog.fr... >> Steve a �crit : >>> When creating a form in Visual Studio .NET, you drag and drop components >>> from a tools window onto a form. Visual Studo generates code in an >>> InitializeComponent method that is called when a form is created. You >>> set up properties and events for the form by selecting the item on the >>> form and changing values in a property editor. >>> >>> This kind of interaction with building GUI applications is nothing new. >>> It's similar to the way things have worked with Visual Basic and Delphi >>> for a long time. Sadly Ada is lacking in this area. >>> >> What you describe is exactly what you get with GtkAda/Glade. Ada lacks >> nothing when you know where to look for... >> > > It is "almost" what you get with GtkAda/Glade. Every time I have attempted > the combination it has ended in frustration. > > I am working in a Windows environment. > > Every time I have attempted to use Glade to set up a GUI it starts out > looking really impressive... better than some of the other GUI IDE's. > > But then I find that the tool that is supposed to allow me to make changes > to the GUI after the initial setup, doesn't work on Windows. Or I start > setting up windows, things start looking good, and then Glade crashes losing > all of my edits. > > When I first tried using Glade on Windows the file dialogs were far from > standard for windows and very frustrating to work with. > > I like Ada. I really do. But I would not recommend using Ada for a > developing a GUI to anyone. Now, I did, we're selling the program and your advice is nonsense. Admittedly we never bothered to do much more than _build_ on Windows. The Development was done on Debian Woody and Sarge (and most of the debugging to). GtkAda + Gnat make a viable cross-platfrom environment. The snags one encounters have nothing to do with your advice (but IMHO rather with Ada: It is a great language, but GUIs can probably be easier built when GC and real closures are present. I haven't ever bothered to work out in detail my arguments regarding this, so I won't try to defend this view here and now). > I would go so far as to recommend creating a separate "front end" in C# on > .NET and a "back end" in Ada. But that raises the issue of justifying using > two separate programming languages for one applicaiton. It also raises the question wether this is really the price you want to pay for being able to use a "GUI-Builder" (which IMHO produce too static applications anyway ...). GUIs can be done w/o GUI Builder (or one can use Glade on Linux to produce a GUI to be compiled on Windows) and this might be much less painful than C#/Ada integration. > Maybe someday some eager beaver will create a visual studio package that > generates Ada gui code for Visual Studio .NET. That would (I believe) put > Ada on an equal (or superior) footing with other programming languages for > developing user interfaces. I see that MS marketing already works. In your mind GUI developent is impossible w/o Visual studio. Regards -- Markus