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

How can I run MS/DOS programs on Windows/XP

I wrote a basketball statistics program using CA-Realia COBOL which runs on dos or a MS/DOS window in windows/95 - windows/me. Will it run on XP?  Is there any dos emulation in XP?

As for converting it to a GUI based app, I would like to do so without having to rewrite 17000 lines of cobol code. Anyone know of a cobol compiler which creates windows-compatible programs?  I know I will have to change the display and accept commands to use something like the Screenio product but I'd like to be able to leave mmost of the rest of the code alone.

See my comment below regarding downloading the program from a web site to test it on xp.
 Thanks.  avamac
0
avamac
Asked:
avamac
  • 5
  • 2
  • 2
  • +1
1 Solution
 
CrazyOneCommented:
DOS is emualted in XP however there is no real DOS mode in the NT family. Some DOS programs will work and some won't. A lot of it depends on if the program is making any direct calls to the hardware on the machine. Most hardware interfacing needs to go through Windows and not through DOS. If your program relys on any vxd's or other drivers than chances are that it won't run on XP.


The Crazy One
0
 
CrazyOneCommented:
Just for the curiosity of it is there any chance you can convert the program to be a GUI based application?
0
 
pjknibbsCommented:
Given that your program almost certainly just accepts keyboard input and outputs pages of text there's no reason at all why it shouldn't work under Windows XP. You would only start having problems if it used graphics or other hardware-specific stuff.
0
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.

 
EricMDCommented:
You could get a 16bits application error when astarting the app. but you can just click ignore and continue. I see no reason why it shouldn't work. But why not just try it and tell us what happened ?

:-) Eric :-)
0
 
CrazyOneCommented:
One thing you could do if you don't have a test machine available is maybe upload a Demo version to a web site and we could download it and test it for you. :>)

Does your program use the printer and/or modem?
0
 
avamacAuthor Commented:
The program is available for download from www.akcoach.com in the "downloadable tools" section. I don't have an xp machine (yet) so if any of you are basketball coaches or fans and want to play with the stats program, please download it and try in on xp. It does not do any low-level interfaces with dos but since it is written in Realia Cobol, I don't know what Cobol is doing with dos.
Thanks to all of you for your replies.
0
 
CrazyOneCommented:
I did some prelimanary testing and thus far it is wroking. :>)
0
 
EricMDCommented:
see this way we can get to a solution together. do we get credits in the software for it ??? :-p



Just kidding

eric
0
 
avamacAuthor Commented:
Thanks for taking the time to test for me.
0
 
CrazyOneCommented:
You are welcome. :>)
0
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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

  • 5
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now