Thread: DOS compatibility

  1. #1
    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,823
    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
    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,823
    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
    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
    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, 09: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, 01: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, 07:14 PM