DOS compatibility

This is a discussion on DOS compatibility within the C Programming forums, part of the General Programming Boards category; I am compiling my program in Ms Visual C++ 6. How can I make my application DOS 6.22 compatible?...

  1. #1
    gls
    gls is offline
    Registered User
    Join Date
    Sep 2001
    Posts
    6

    Question DOS compatibility

    I am compiling my program in Ms Visual C++ 6. How can I make my application DOS 6.22 compatible?

  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    Well... that depends on the code. For instance, if your code has MFC calls in it, it won't run in DOS. Why are you developing for DOS, anyways?

  3. #3
    gls
    gls is offline
    Registered User
    Join Date
    Sep 2001
    Posts
    6
    As far as I know I am using all ANSI C commands, no MFC's. I need to run the application on a DOS 6.22 machine since that is what our customer test machines have on them.

  4. #4
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    OK (wow, a company that actually uses DOS)...

    Do you have to use MSVC++? I'm not totally sure it can compile for DOS - possibly just console mode. Someone can correct me, tho. If I'm right, and you have to option, go get DJGPP.

  5. #5
    gls
    gls is offline
    Registered User
    Join Date
    Sep 2001
    Posts
    6
    Nothing is locking me into using Visual C++, it's just that we have it and I thought I would try using it. I am going to download the compiler you sugested and try it.

    Thanks for your reply.

    gls

  6. #6
    zen
    zen is offline
    of Zen Hall zen's Avatar
    Join Date
    Aug 2001
    Posts
    1,007
    Govtcheez is right, MSVC doesn't do dos apps you'll need a dos compiler.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File systems?? (Winxp -> DOS)
    By Shadow in forum Tech Board
    Replies: 4
    Last Post: 01-06-2003, 08:08 PM
  2. winver, winminor, winmajor can it be found from dos?
    By ronin in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 10-02-2002, 10:32 AM
  3. real mode dos & win dos
    By scott27349 in forum A Brief History of Cprogramming.com
    Replies: 26
    Last Post: 08-19-2002, 06:15 AM
  4. DOS program versus DOS console program
    By scromer in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 01-10-2002, 12:42 PM
  5. Shut off DOS screen automatically to Windows
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 11-08-2001, 06:14 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21