i'm writing a program which i want to run from dos only and not run from windows
it should display the message that the mswindow programs display - You cannot run this program from the Windows MS-DOS command prompt.-
what should i do??
i'm writing a program which i want to run from dos only and not run from windows
it should display the message that the mswindow programs display - You cannot run this program from the Windows MS-DOS command prompt.-
what should i do??
The reason that message comes up is that windows decides that the program should not be run in windows...not the actual program. So just write a program for dos with a dos compiler and windows will do your dirty work...unless o course it has no problem running your prog in windows...in which case you should leave that up to the user anyway IMHO.
The Gekko
Hello,
See if this works...
http://www.gameprogrammer.com/archiv.../msg00372.html