Article View: comp.os.ms-windows.programmer.tools
Article #802Feasibility: Dos Apps Under Window
From: When the going gets Wierd, the W...
Date: Fri, 22 Jan 1993 20:34
Date: Fri, 22 Jan 1993 20:34
37 lines
1863 bytes
1863 bytes
DOS APPLICATION COMMUNICATION WITH WINDOWS
Windows 3.1 has this nasty habit of allowing itself to become suspended
whenever a "Dos" program is run maximized from the program manager. This
can become quite a nuisuance, since windows has stopped becoming multi-tasking
and now is single threaded.
Solution 1: Make sure that Dos programs are not run full screen. One can
hardly assume that the users will remember to do this.
Solution 2: Don't run Dos programs ... only use Windows Apps
Solution 3: Run windows under DesqView or OS/2
Solution 4: The Dos App is loaded with a batch file, which loads in a TSR
before the Dos App. This TSR would :
1. Determine if Windows was loaded
2. If Loaded, is windows active ?
3. If windows not active then the Dos App is in
Full Screen mode. Issue a software interupt
which will 'wake up' windows and put the
Dos App into a window.
The functionality of this is very similiar to pressing <ALT> CR after running
a Dos App, but, a program doing this automatically.
I would appreciate some feed back on this problem (at the risk of being
Flamed). From using VisBasic, I have written programs which can SendKeys from
a windows program to a Dos App by using the Clipboard. But this seems to be
exactly the opposite problem - how does a DOS program send a Key Sequence to a
windows program ... especially if the windows program manager is sleeping.
Thanks in advance !
Jim Neawedde
Technical Details
Message-ID:
<1993Jan22.153424.9624@iccgcc.decnet.ab.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!icd.ab.com!iccgcc.decnet.ab.com!neaweddeShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!icd.ab.com!iccgcc.decnet.ab.com!neawedde From: neawedde@iccgcc.decnet.ab.com (When the going gets Wierd, the Wierd turn PRO!!!) Newsgroups: comp.os.ms-windows.programmer.tools Subject: Feasibility: Dos Apps Under Window Message-ID: <1993Jan22.153424.9624@iccgcc.decnet.ab.com> Date: 22 Jan 93 15:34:24 EST Lines: 43