• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 988
  • Last Modified:

This program cannot be run in DOS mode.....what?


I've got a command line C++ app written using vc++ 2005. I have been running it through a command line prompt on my win XP system for sometime. Now when I run it, the console just spits back an error saying "This program cannot be run in DOS mode".

Any idea why this would start all of a sudden? None of my compiler options seems to have changed?

1 Solution
Try a complete rebuild. That usually only happens when a binary gets corrupted.
DJ_AM_JuiceboxAuthor Commented:
That was strange, oh well.

Kent OlsenData Warehouse Architect / DBACommented:
Hi DJ_AM_Juicebox,

It probably links a DLL that has changed and rebuilding the application makes it now compatible with the DLL.

Good Luck,
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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