Solved

Converting code written with MSVC to MSVC++ 5.0

Posted on 1998-05-18
2
166 Views
Last Modified: 2012-06-27
Hello,

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

thanx
0
Comment
Question by:mvu
2 Comments
 
LVL 10

Accepted Solution

by:
RONSLOW earned 100 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.

0
 

Author Comment

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

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

932 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now