Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Borland C++

Borland C++

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++delphihelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kiethnt
    wrote on last edited by
    #1

    I have a small program that is written on Borland C++ 3.1, it worked probarly on Win98 but now I need to reuse this program on WinXP, howerver there is an error when i use it on WinXp. Any body know to convert this program into Win32 application. What is bios.h header file. Could I rewrite a new application and then aopy these code again?

    J 1 Reply Last reply
    0
    • K Kiethnt

      I have a small program that is written on Borland C++ 3.1, it worked probarly on Win98 but now I need to reuse this program on WinXP, howerver there is an error when i use it on WinXp. Any body know to convert this program into Win32 application. What is bios.h header file. Could I rewrite a new application and then aopy these code again?

      J Offline
      J Offline
      John R Shaw
      wrote on last edited by
      #2

      The problem is that functions defined in the ‘bios.h’ (equivalent to MS ‘dos.h’) header file are used to access low level bios functionality (indirect assembly code). In other words, it is designed to talk to the computer at the bios (or machine) level. These functions usually need to be replaced with equivalent Win32 functions that you may need to write yourself. I know that there is a [free] driver on the Net that allows you to access this level (ring 0), because I have used it, but I do not remember what it is called.

      Kiethnt wrote:

      Could I rewrite a new application and then aopy these code again?

      Well yes and no, in either case you will need to recompile the code and look at the errors (or warnings) and figure out how to do the equivalent in Win32

      INTP "Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups