?
Solved

BIOS.H functions under Windows NT

Posted on 1997-06-27
1
Medium Priority
?
265 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 400 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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 video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .

862 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