home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4596 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.9 KB

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!cs.utexas.edu!marty
  2. From: marty@cs.utexas.edu (Marty J. Sirkin)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: Is there any way to execute a DOS program from a WINOS2 program?
  5. Date: 31 Aug 92 09:49:29
  6. Organization: Univ. of Texas at Austin, CS Dept.
  7. Lines: 32
  8. Message-ID: <MARTY.92Aug31094929@predator.cs.utexas.edu>
  9. References: <l9sep2INNqlc@predator.cs.utexas.edu> <1992Aug28.205248.21272@njitgw.njit.edu>
  10. NNTP-Posting-Host: predator.cs.utexas.edu
  11. In-reply-to: dic5340@hertz.njit.edu's message of 28 Aug 92 20:52:48 GMT
  12.  
  13.  
  14. David Charlap writes:
  15. >>   The question is: Is there any way that I can have a Windows program
  16. >>under WINOS2 execute a small DOS .exe??  Or is it simply not to be done?  Or
  17. >>have I missed something really basic?
  18.  
  19. > Can't be done.  WIN-OS2 will not launch non-Windows apps.  At least
  20. > the current version.  IBM hinted that they may add this ability in the
  21. > future.  For now, they (and I) fail to see the need for DOS boxes
  22. > under WIN-OS2, when you can have them under OS/2.
  23.  
  24. David:
  25.   To let you know where I'm coming from:
  26.  
  27.   It is sometimes the case that you have an executable (only in .exe form)
  28. that you would like to run from the middle of a program (OS/2 or Windows).
  29. You do not have the object or import libraries, so you cannot either statically
  30. or dynamically link the code in, you can only execute it.
  31.  
  32.   It is this kind of situation about which I wrote.  Examples of this might
  33. be: uncompress utilities or printer utilities.  You often only get the .exe
  34. files with these.
  35.  
  36.   I agree with you 100% about the DOS boxes, though.  One can easily move
  37. to the WPS to spawn a DOS box (for now).  The only problem with *this* is
  38. if you are running in an SVGA mode of WINOS2, and don't yet have drivers
  39. for your card for OS2.  Then you have to kill the WINOS2 session to get
  40. to the DOS box.
  41.  
  42.   Hope this helps with explaining my question better.
  43.  
  44. Marty Sirkin
  45.