473,387 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

OS/2 Vio* calls in Windows

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?

Nov 14 '05 #1
1 1532
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mesan wrote:
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.
</ot>
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-----
Nov 14 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: jrefactors | last post by:
If the C programs have UNIX system calls such as fork(), alarm(), etc.., we should call it UNIX programs, not traditional C programs? We couldn't compile the programs with system calls using VC++...
8
by: Peter Olcott | last post by:
Is there any way to intercept system calls to windows such as TextOut and DrawText? what kinds of system calls can be intercepted, and what is the mechanism to accomplish this?
7
by: Jeff Stewart | last post by:
I need a thread to run a subroutine which updates my main form's progress bar. I've properly marshaled all UI updates to the main UI thread, and after the main thread starts the worker thread, it...
6
by: Pucca | last post by:
I have a program that originally compiles into a exe file. I changed the compile option to generate dll file. This program calls a com component. Can I use pinvoke in C# to call it? The...
1
by: jc | last post by:
Hello. I'm doing some prep work before taking the vb.net brainbench. I noticed one of the topics is : Consuming resources - Windows Native Calls Where can I get more info on this? What...
7
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
我们现在遇到一个问题,通过wcf创建的webservice,选择windows service作为宿主,采用java作为客户端调用成功,但是无法使用asp.net ajax调用。...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.