Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

BIOS.H functions under Windows NT

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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

610 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