Converting code written with MSVC to MSVC++ 5.0

Posted on 1998-05-18
Medium Priority
Last Modified: 2012-06-27

I have a C program written in MS Visual C and need to convert it to compile with MS Visual C++ 5.0.
One of the problem is 5.0 does not recognize bios.h.
Would you know the equivalent for it in 5.0?
Any tips will be very appreciated

Question by:mvu
LVL 10

Accepted Solution

RONSLOW earned 300 total points
ID: 1250822
VC is for Win32 only and not DOS .. bios.h is DOS interupt calls.

However, most DOS interrupts have equivalent Win32 API function calls.  Roughly speaking, the DOS API was pretty much just interrupt calls, Win32 is a 'proper' and extensive function library.

Basically search the Platform SDK (or on-line help) for equivalent Win32 functions .. the ones to use depends on what particular function in bios.h you want to call.


Author Comment

ID: 1250823
Thank you, will look into the docs...

Featured Post

Live webcast with Pinal Dave

Pinal Dave will teach you tricks to help identify the real root cause of database problems rather than red herrings. Attendees will learn scripts that they can use in their environment to immediately figure out their performance Blame Shifters and fix them quickly.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
There's never been a better time to become a computer scientist. Employment growth in the field is expected to reach 22% overall by 2020, and if you want to get in on the action, it’s a good idea to think about at least minoring in computer science …
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

624 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