?
Solved

BIOS.H functions under Windows NT

Posted on 1997-06-27
1
Medium Priority
?
251 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
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…
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

765 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