Ada Binding to Win32 (WinAPI)

Version 3.1 Release 2 Upgrade

Developed by: John Walker, JSW Technology
Distributed by: Aonix

Copyright John Walker & JSW Technology 2000. All Rights Reserved.
The information contained herein is subject to change without notice.

ObjectAda is a trademark of Aonix
Microsoft, Visual C++, Win32 and Windows NT are trademarks of Microsoft, Inc.

Last updated: 6 March 2000

Contents

This upgrade adds support for WinInet and TAPI to Ada Bindings to Win32 (WinAPI) Version 3.1 which is distributed with ObjectAda OpenPack Version 7.2 by Aonix. It can be installed as described below (see Installation).

Go back to Ada Binding to Win32 (WinAPI)

Go back to start of JSW Technology Home Page


Installation

The upgrade can be downloaded using winapi312.zip (291 KB).

The sources can be extracted directly into an ObjectAda installation. For example, assuming ObjectAda is installed in c:\program files\aonix\objectada then the files can be extracted as follows:

>c:
>cd \"program files"\aonix\objectada\winapi
>..\bin\unzip winapi312.zip
Note that unzip.exe is supplied with ObjectAda in objectada\bin.

That should have installed the following files:

objectada\winapi\binding\src\wincon.ada
objectada\winapi\binding\src\tapi.ads
objectada\winapi\binding\src\tapi.adb
objectada\winapi\binding\src\wininet.ads
objectada\winapi\binding\src\wininet.adb

objectada\winapi\binding\lib\winapi.lrf

Having installed the sources they can be compiled as follows:

>cd binding\lib
>..\..\..\bin\adacomp ..\src\wincon.ada
>..\..\..\bin\adacomp ..\src\tapi.ads
>..\..\..\bin\adacomp ..\src\tapi.adb
>..\..\..\bin\adacomp ..\src\wininet.ads
>..\..\..\bin\adacomp ..\src\wininet.adb

The packages can now be with'ed into any program which is linked to the WinAPI library.

Go back to Contents