running old Qbasic programs under Vista X64

December 18, 2010 at 04:12:12
Specs: Windows Vista
I have an old Qbasic program which I made for myself. It runs with GWBASIC.EXE in the directory where the executable is placed. Until now I could run the program in a DOS box in XP. But when I try to run the program under 64 bits Vista I get an incompatibility message. Does anyone know a solution for Vista and later on for W7

See More: running old Qbasic programs under Vista X64

Report •

December 18, 2010 at 04:17:40
I'm pretty sure that QBasic and GWBasic are 16-bit programs. There's no way that those will run directly under 64-bit Windows. The best you can do is use an emulator, as you are already doing.

Report •

December 18, 2010 at 05:15:07
Note: The Command Prompt is a console window. DOS Box is a third party program you must explicitly download, install, and set up. They are not the same. The Command Prompt will not run 16-bit applications on a 64-bit OS. DOS Box is designed to emulate a 16-bit environment, and will run 16-bit applications.

How To Ask Questions The Smart Way

Report •

December 20, 2010 at 13:22:12
If dosbox complains then consider a virtual machine with real dos/w3/95/98/nt or maybe freedos.

Why did it take me over a year to phone in a problem to ATT?

Report •

Related Solutions

December 27, 2010 at 04:14:46
Thank you all. The program works with DOSBOX. I made the mistake to think that teh Command Prompt was the same as a dos box. Razor 2.3 answered that this isn't the same.

And now I have an extra issue. I would like to print the output from the LPRINT-command in the Qbasic application to a text-file. (Later on I can work on that text-file en print it from Windows-Vista). Under XP I used a program LPT2FILE in a batch file with :

lpt2file lpt1:=c:print.txt
lpt2file /c

All was printed in print.txt and could be used in for instance Notepad under Windows.
The file is still created but it remaines empty.
Does anyonde know an other way to catch the LPRINT output from a Qbasic program into a file?

Report •

Ask Question