Solved

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

Posted on 2002-04-08
10
502 Views
Last Modified: 2012-06-22
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
Comment
Question by:avamac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
  • 2
  • +1
10 Comments
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6927343
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
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6927348
Just for the curiosity of it is there any chance you can convert the program to be a GUI based application?
0
 
LVL 12

Expert Comment

by:pjknibbs
ID: 6927477
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
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 

Expert Comment

by:EricMD
ID: 6927770
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
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6928100
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
 

Author Comment

by:avamac
ID: 6928169
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
 
LVL 44

Accepted Solution

by:
CrazyOne earned 50 total points
ID: 6928257
I did some prelimanary testing and thus far it is wroking. :>)
0
 

Expert Comment

by:EricMD
ID: 6929568
see this way we can get to a solution together. do we get credits in the software for it ??? :-p



Just kidding

eric
0
 

Author Comment

by:avamac
ID: 6935848
Thanks for taking the time to test for me.
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6935874
You are welcome. :>)
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just about everyone has an old PC laying around.  Ask anyone in the IT industry, whether they are a professional or play in it as a hobby.  From outdated Desktops to cheap "throwaway" laptops, they are all around and not as hard to "fix up" as you m…
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question