Solved

BIOS.H functions under Windows NT

Posted on 1997-06-27
1
213 Views
Last Modified: 2013-12-03
I am trying to port a program from Windows 3.1 to Windows NT. My original program makes some calls to functions in "bios.h" file. However, my new compiler (Visual C++ 4.0) does not have this header file. Is there an equivalent header file (i.e. bios32.h), or does anybody know if Windows NT supports the functions in bios.h, and if not, the solution for this problem?
I am trying to not to change the code as much as possible, however, if I have to change the code and you want to know which functions I am using, then I would save myself some time. The functions I am using is to access the printer (detecting, printing, etc.)

Thanks.
0
Comment
Question by:Zainal062797
1 Comment
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 200 total points
ID: 1399465
The BIOS functions do not exist because Windows NT does not allow direct access to the hardware. You will need to modify your program to use the Win32 API. The closest thing that matches BIOS.H is WINIOCTL.H and look at the functions in there.

Good luck!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now