home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
os2bnd01.zip
/
README.txt
< prev
next >
Wrap
Text File
|
1995-10-16
|
2KB
|
41 lines
THIN ADA 95 BINDINGS TO THE OS/2 API, R 0.1ß
--------------------------------------------
General:
The OS2 package provides thin, direct Ada'95 bindings to the most
important parts of the OS/2 API. This includes the entire PM section
(including GPI) and few selected portions of the Dos API.
Notes:
* Be aware - this is a first beta release, and it has undergone
only partial (read: minimal) testing. Bug reports and other
comments are welcome.
* Check out the WINTEST.ADB file. It is a small PM test program that
demonstrates how to use the bindings.
* Most macro functions are still missing from the package. Wait
patiently for the next release or help me by writing them yourself.
* Note that some names and types are not exactly identical to the
C API definitions. Declarations like "HWND hwnd", anonymous arrays
as structure members, pointers etc. had to be changed.
* The next release will include basic Dos I/O and named pipes, plus
most or all macro functions.
The bindings have been created using a customized CBIND6 and tested
with GNAT 2.06 on OS/2 Warp v3. The CBIND utility can be obtained from
ftp://rational.com/public/tools/cbind, the GNAT Ada'95 compiler is
at ftp://ftp.cs.nyu.edu/pub/gnat. The base file was OS2EMX.H (part of
gcc/emx), thus a copy of the GNU General Public License is included with
the distribution archive. (A personal note: I still don't understand why
all this hardcore legal stuff is necessary and why every piece of code
has to include a lengthy all-capitals disclaimer message.)
-- Klaus A. Brunner Austria, Europe
-- <kbrun@ibm.net> 2:313/9.16@fidonet