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 07:48:15 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny02.gnilink.net.POSTED!53ab2750!not-for-mail From: "Stephane Richard" Newsgroups: comp.lang.ada References: <3e75e88a$0$4088$4d4ebb8e@read.news.de.uu.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 Message-ID: <27mda.65884$gi1.28494@nwrdny02.gnilink.net> Date: Mon, 17 Mar 2003 15:48:14 GMT NNTP-Posting-Host: 129.44.78.61 X-Complaints-To: abuse@verizon.net X-Trace: nwrdny02.gnilink.net 1047916094 129.44.78.61 (Mon, 17 Mar 2003 10:48:14 EST) NNTP-Posting-Date: Mon, 17 Mar 2003 10:48:14 EST Xref: archiver1.google.com comp.lang.ada:35411 Date: 2003-03-17T15:48:14+00:00 List-Id: Hi Vincent, I would HAVE to suggest using the Windex Library dedveloped by the one I like to call "The Guru" of Windows Binding, I hereby name Mr. Stephen Leake. You can get it at http://users.erols.com/leakstan/Stephe/Ada/windex.html It's free and you'll soon notice as you, browse the source files that things are very well organized into highly functional groups of objects to make navigation in the library very straight forward and efficient. To me, It's the easiest most natural way to do Windows in Ada and was created by someone who knows what he's talking about :-). Stephane Richard Software Developer "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 >