🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1211

Re: WHERE IS AVIO!!!!!!

#1211
From: wayned.bbs
Date: Sun, 23 Aug 1992 04:35
23 lines
1792 bytes
sl31+@andrew.cmu.edu (Stephen M. Lacy) writes:

> I'm trying to get a sample program that I've typed in from Petzold's
> book on programming the OS/2 Presentation Manager.  The problem (I guess
> you could call it a problem) is that the program uses the AVIO
> mechanisms.  I'm using the native port of GCC 2.1, and there doesn't
> seem to be any support for the AVIO things!!!  WHATS UP WITH THIS!!!  I
> thought it supported full programming of the OS/2 API, but I used "Seek
> and Scan files" and there are no entries for any of the Vio* functions!!
>   Is this header file available from somewhere?  I was depending on this
> working for a class that I am taking this coming semester in computer
> graphincs that I was planning on using OS/2 and PM for.   PLEASE RESPOND
> AS SOON AS POSSIBLE.  Thanks a million.

Make sure to #define INCL_BASE or INCL_SUB before you #include <os2.h>.  
This will include the old Kbd, Vio and Mou prototypes.
The exported names have changed to VIO16GETANSI, etc.

+-----------------------------------+-----------------------------------+
| Wayne Desmond                     | Happily using and working (read:  |
| OS/2 Consultant/Programmer        | earning a GOOD living) with       |
| (wayned.bbs@cybernet.cse.fau.edu) | OS/2, since version 1.1.          |
+-----------------------------------+-----------------------------------+
Technical Details
Message-ID: <LXZXPB1w164w@cybernet.cse.fau.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!uflorida!cybernet!wayned
References: <MeZifEa00iUxA3SG5k@andrew.cmu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!uflorida!cybernet!wayned
From: wayned.bbs@cybernet.cse.fau.edu
Newsgroups: comp.os.os2.programmer
Subject: Re: WHERE IS AVIO!!!!!!
Message-ID: <LXZXPB1w164w@cybernet.cse.fau.edu>
Date: 23 Aug 92 04:35:20 GMT
References: <MeZifEa00iUxA3SG5k@andrew.cmu.edu>
Sender: bbs@cybernet.cse.fau.edu (BBS)
Organization: Florida Atlantic University, Boca Raton
Lines: 23