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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,899b6cda699de8ba,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-17 07:23:57 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!demon!newshub1.home.nl!home.nl!newsfeed.multikabel.nl!newsfeed.kabelfoon.nl!195.129.110.21.MISMATCH!bnewsfeed00.bru.ops.eu.uu.net!bnewsifeed00.bru.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!read.news.de.uu.net!not-for-mail From: "Vincent Smeets" Newsgroups: comp.lang.ada Subject: What do I need to write a Windows program with Ada? Date: Mon, 17 Mar 2003 16:23:51 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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: <3e75e88a$0$4088$4d4ebb8e@read.news.de.uu.net> NNTP-Posting-Host: 193.103.165.100 X-Trace: 1047914634 read.news.de.uu.net 4088 193.103.165.100 X-Complaints-To: abuse@de.uu.net Xref: archiver1.google.com comp.lang.ada:35407 Date: 2003-03-17T16:23:51+01:00 List-Id: 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