Running Windows Programs (AREV Specific)
At 18 JUN 2003 06:47:08PM Terry Rainville wrote:
I have found that clicking a Cammand prompt window and executeing an
.EXE like adobe, will work properly from a dos prompt.
BUT — If I suspend a Arev session, and from that suspened DOS prompt call the exact same .EXE file as above (Adobe), it will give me and error saying "Cannot run this program in Dos Mode"
This has to be a enviorment variable issue that I can mess with inorder to get the desired resault and actually execute Adobe from within the AREV program.
Any help will be awsome!!!!
Tks
Terry Rainville
At 18 JUN 2003 07:24PM Don Miller wrote:
The reason you can do it from a command prompt is that it launches a new instance of a virtual machine which can encapsulate the call made to a windows program. Shelling out to a DOS prompt from AREV does not create a new virtual machine with it's "hooks" established. Therefore the only things that you can really count on are MS-DOS programs or programs that will launch in MS-DOS mode.
Don M.
At 19 JUN 2003 01:40AM Charles Milner wrote:
I've found that I can run virtually any Windows application from within AREV, by using the PC and EXIT commands in combination with the Windows START.EXE program.
Ie, from TCL:
PC EXIT START.EXE NOTEPAD.EXE
Note: this doesn't work with Windows 2000 or XP, since the START.EXE program is now integrated into the CMD.EXE program. But if you copy the START.EXE from a Win98 box into the same folder as AREV, it'll work.
At 19 JUN 2003 06:56AM Don Miller - C3 Inc. wrote:
That's an interesting observation. I just tried copying START.EXE from Win98 to AREV's directory and you're right .. at least with simple preliminary testing. Thanks ..
Don M.
At 19 JUN 2003 02:47PM Terry Rainville wrote:
Thank you very much for your information, that will work wonders.
Only one problem still remains.
I am still getting a message saying "Cannot run in dos mode"
So I decided to try an experiment of something someone said about memory and I also noticed this when I opened a DOS command prompt.
The EMS Memory is all gone with AREV as we use as much as possable inorder to get high performance.
With the memory gone windows cannot execute the commands, once i restore the memory it works fine.
SO === now the issue is how to flip flop the memory while running AREV
so I can have maximum performance plus open Windows programs on demand
Thanks
Terry Rainville
At 19 JUN 2003 03:53PM Terry Rainville wrote:
Hey, just wanted to get back and let you know I got it working.
I found that I had to set the AREV icon properties exactly the same
as the DOS PROMPT properties inorder to get it to run.
But it now brings up my file in windows on demand which is great.
Thanks for your help
Terry Rainville
At 23 JUN 2003 02:04PM Warren wrote:
Right click on your pif/icon that you use to start Arev.
In the program tab click the "advanced" button.
Make sure the option "Prevent MS-DOS-based programs from detecting Windows" is NOT checked.
It took me a while to figure this out and that was only a month or so ago.