VOGONS

Common searches


First post, by knownothing

User metadata
Rank Newbie
Rank
Newbie

How can a novice, I mean a real novice, get a dos program to at least appear as if it is a windows program? The dos program is the result of a c compiler operating on a text-based data set. Right now it can only run using dos and sales of the output of the program have gone to nearly zero because it doesn't load as a windows program. Graphics unimportant. Hardly any numbers; motly text. But there is music however I can do without this last item.

Reply 1 of 3, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

Hello. Welcome to the forum.

You first try reading the POSTING GUIDELINES.

What version of Windows Operating System are you using?

Did you try just executing it? Did you know Windows has a built-in ms-dos emulation to some extent?

Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
8 GB GeForce GTX 1070 G1 Gaming (Gigabyte)

Reply 3 of 3, by batracio

User metadata
Rank Member
Rank
Member

You may use QuickWin:

http://www.codeproject.com/dialog/quickwin.asp

Apparently it will only work if the C source code uses stdin, stdout and stderr for I/O operations (ie, printf, scanf functions and so on). Won't work if nonstandard console functions are used instead (cprinf, cscanf). But don't worry for this tech stuff, you don't need to reprogram, nor even recompile the source code. It's kind of a MS-DOS command window emulator.