Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

Converting code written with MSVC to MSVC++ 5.0

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
mvu
Asked:
mvu
1 Solution
 
RONSLOWCommented:
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
 
mvuAuthor Commented:
Thank you, will look into the docs...
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now