1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

DOS question

Discussion in 'Programming & Webmastering' started by binsky3333, Feb 12, 2009.

  1. binsky3333

    binsky3333 New Member

    Joined:
    Jul 5, 2007
    Messages:
    643 (0.24/day)
    Thanks Received:
    21
    Hi everyone, I figured that i want to make a really simple operating system based on DOS. I am thinking using the MS-DOS startup disk and then creating a program and dragging it to the disk and running it from the startup disk... Though when i try and run the program while using the MS-DOS startup disk i get THIS PROGRAM CANNOT BE RUN IN DOS MODE. Do i have to use a special compiler. Right now i am using VS2008. BTW ITS JUST A LITTLE SIMPLE HELLO WORLD PROGRAM!! WRITTENT IN ALL C++.
     
    Last edited: Feb 12, 2009
  2. Braveheart

    Braveheart New Member

    Joined:
    Mar 26, 2008
    Messages:
    1,115 (0.45/day)
    Thanks Received:
    46
    wait what? you want to have a hello work program on a DOS start up disk?
     
  3. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    14,096 (6.24/day)
    Thanks Received:
    3,915
    Location:
    IA, USA
    All Visual Studio applications rely on MS core libraries that DOS wouldn't have. Seriously, I don't know what you would use to write an application for execution in MS-DOS.
     
    Crunching for Team TPU
  4. Braveheart

    Braveheart New Member

    Joined:
    Mar 26, 2008
    Messages:
    1,115 (0.45/day)
    Thanks Received:
    46
    see, im not the only one...binsky, sorry to bust it to ya but this isn't going to work :(
     
  5. binsky3333

    binsky3333 New Member

    Joined:
    Jul 5, 2007
    Messages:
    643 (0.24/day)
    Thanks Received:
    21
    Nevermind guys i just figured out my problem. I have to compile the program into a 16 Bit .exe cause DOS is a 16bit os.
     

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page