Win32Ada

Win32Ada is an Ada 95 binding for Windows. Release 2.0 works with the Microsoft Win32 Application Programming Interface available on Windows NT and Windows 95. Its major features are:

  • direct binding between Ada and C, so programmers' knowledge of the Win32 API can be reused and existing Windows documents and books can be reused;
  • extensive coverage of the Win32 API;
  • good Ada 95 style;
  • extensive online help including Ada help and hyperlinks to the Microsoft help for the C language API;
  • a small but interesting library of sample programs written in Ada 95 which perform Windows functions.

    Win32Ada has been tested on Intel 486 and Pentium platforms using Windows NT 3.5, Windows NT 3.51, Windows 95, and the GNAT 3.01 Ada 95 compiler.

    Development of Win32Ada was funded by the Ada Joint Program Office.

    Compared with release 1.0 the main differences are the new versions of Windows and GNAT that the binding works with, the graphical installation script, and the fact that the binding is now available through Microsoft.

    Other software that is needed with Win32Ada

    GNAT for Windows NT or another Ada 95 compiler is needed to build Win32Ada. This release of Win32Ada works with GNAT version 3.01.

    The Microsoft Win32 SDK (Software Developer's Kit) comes with membership in The Microsoft Developer Network.

    To uncompress the files in Win32Ada an UNZIP utility is needed. UNZIP is available many places, for example Info-ZIP.

    Downloading

    Extracting and building Win32Ada takes about xxx megabytes of disk space. Building the binding and sample programs takes around less than an hour on a 90 MHz Pentium. Here are the steps:

  • Download the binding sources win32ada.zip.
  • Unzip the sources.
  • Execute SETUP.EXE from the files that were just unzipped.
  • Open a DOS command window.
  • Run the SETPATH.BAT command from the directory where GNAT is installed.
  • Run the SETPATH.BAT command from the directory where Win32Ada is installed, C:\Win32ada by default.
  • Run the INSTALL.BAT command from the directory where Win32Ada is installed.
  • (Optionally) change to the SAMPLES directory, and execute the MAKESAMPLES.BAT command.

    Warranty and copyright

    -- WIN32ADA AND ANY ASSOCIATED DOCUMENTATION IS PROVIDED "AS IS" WITHOUT 
    -- WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT 
    -- LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR 
    -- A PARTICULAR PURPOSE.  The user assumes the entire risk as to the accuracy 
    -- and the use of this file.  WIN32ADA may be used only by licensees of 
    -- Microsoft Corporation's WIN32 Software Development Kit in accordance with 
    -- the terms of the licensee's End-User License Agreement for Microsoft 
    -- Software for the WIN32 Development Kit.
    --
    -- Copyright (c) Intermetrics, Inc. 1995
    -- Portions (c) 1985-1994 Microsoft Corporation with permission.
    -- Microsoft is a registered trademark and Windows and Windows NT are 
    -- trademarks of Microsoft Corporation.
    

    Sending comments and sample programs

    Intermetrics will serve as the clearinghouse for improvements and bug fixes to Win32Ada. LabTek also offers consulting services for GNAT on Windows and for Win32Ada.

    Some quite interesting Ada 95 Windows test programs are included in the SAMPLES directory. More are needed. If you write an interesting sample program that exercises a new part of the Win32 API in Ada, and you want to share that sample with other Ada programmers, please send it to the address below.

    Please send comments and sample programs to:

    Mitch Gart
    Intermetrics
    733 Concord Avenue
    Cambridge, MA, 02138, USA
    mg@inmet.com (email)
    617-661-1840 (voice)
    617-868-2843 (Fax)

    Last updated December 21, 1995.