Solved

BIOS.H functions under Windows NT

Posted on 1997-06-27
1
234 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…

829 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