OS/2 Vio* calls in Windows

M

Mesan

Anyone familiar with OS/2 C Programming will remember all those handy
Vio functions (VioWrtCharStr(), VioWrtNChar(), VioWrtNAttr(),
VioGetCurPos(), VioSetCurPos(), etc...).

Here's my question - does anyone know how I might be able to port a C
program from OS/2 to windows that uses those calls extensively? I was
thinking that _maybe_ since OS/2 and Windows started off "together"
that the Vio API might somehow still be supported in Windows but I
really haven't been able to turn up anything.

Have any of you seen Vio calls made in windows through C?
 
L

Lew Pitcher

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Anyone familiar with OS/2 C Programming will remember all those handy
Vio functions (VioWrtCharStr(), VioWrtNChar(), VioWrtNAttr(),
VioGetCurPos(), VioSetCurPos(), etc...).

As such, they are off topic in comp.lang.c
Here's my question - does anyone know how I might be able to port a C
program from OS/2 to windows that uses those calls extensively? I was
thinking that _maybe_ since OS/2 and Windows started off "together"
that the Vio API might somehow still be supported in Windows but I
really haven't been able to turn up anything.

<ot>
MSWindows NT 3x, 4x, and 2K all support an "OS/2" subsystem (16bit, I'm
afraid), and (IIRC) all support the VIO calls. MSWindows XP doesn't
support the OS/2 subsystem, and the VIO calls are absent.

IIRC, Microsoft renamed the VIO calls to DOS (or some such) when they
split WinNT from OS/2; you might get away with a similar renaming in
your code.

Check with your friendly Microsoft support personel for more assistance.
Have any of you seen Vio calls made in windows through C?


- --

Lew Pitcher, IT Specialist, Enterprise Data Systems
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed here are my own, not my employer's)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFCrwVWagVFX4UWr64RAimwAKD18CR+zfFcL9lrqLT/6hMo4JXp0ACg21EI
mYqp1d/KcM7Ciq7+X3O7ACQ=
=bJGT
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top