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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,899b6cda699de8ba X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-17 20:39:27 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsread.com!newsstand.newsread.com!POSTED.newshog.newsread.com!not-for-mail From: "Bob Rosen" Newsgroups: comp.lang.ada References: <3e75e88a$0$4088$4d4ebb8e@read.news.de.uu.net> <27mda.65884$gi1.28494@nwrdny02.gnilink.net> Subject: Re: What do I need to write a Windows program with Ada? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Organization: Zipcon www.zipcon.com Message-ID: <1047962541.390055@news.zipcon.net> Cache-Post-Path: news.zipcon.net!unknown@zee-209-221-138-48.zipcon.net X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Date: Tue, 18 Mar 2003 04:38:53 GMT NNTP-Posting-Host: 209.221.136.9 X-Complaints-To: Abuse Role , We Care X-Trace: newshog.newsread.com 1047962333 209.221.136.9 (Mon, 17 Mar 2003 23:38:53 EST) NNTP-Posting-Date: Mon, 17 Mar 2003 23:38:53 EST Xref: archiver1.google.com comp.lang.ada:35435 Date: 2003-03-18T04:38:53+00:00 List-Id: You might be interested in these pages: http://www.usafa.af.mil/dfcs/bios/mcc_html/adagide.html http://www.usafa.af.mil/dfcs/bios/mcc_html/a_sharp.html Bob Rosen > > > "Vincent Smeets" wrote in message > news:3e75e88a$0$4088$4d4ebb8e@read.news.de.uu.net... > > Hallo, > > > > I know how to write a program with Ada and how to use X-Window (with > Motif) > > for Unix. Now I have a program (smal and non-commercial) that I want to > port > > from Unix to a Windows (98 or 2000) environment and give it a Windows-GUI. > > It will use a menu, an explorer tree and some labels and buttons. The only > > problem is that I have no idea about programming for the Windows > > environment. > > > > What do I need to be able to write a program in Ada for Windows? > > - Compiler > > I have GNAT 3.15p installed. > > > > - Description of a Windows API > > What APIs are there, what is the difference and where do I get a > > description? Are there different levels like Xlib, Xt, Athena and Motif in > > Unix? > > > > - Where do I get a binding for a windows API? > > GNAT comes with Win32Ada. Is that usable or are there other bindings > > that are easyer to use? I have heard that MFC is object-oriented for C++. > Is > > there an object-oriented binding for Ada? > > > > - Do I need an C or C++ development environment for the Ada binding? > > Does the binding require some special libraries that are not generaly > > available with Windows? > > > > - Books > > Is there a book you can recommend to read? I have started to read a > book > > about using MFC with C++ (from Microsoft Press). It gives me an idea about > > programming for Windows, but I can't test anything because it requires > > Visual C++ which I don't have. > > > > - Do I miss something? > > > > > > Thanks for any suggestions, > > Vincent > > > >