home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / os2 / programm / 7990 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.4 KB

  1. Path: sparky!uunet!vnet.ibm.com
  2. From: peterf@vnet.ibm.com (Peter Forsberg)
  3. Message-ID: <19930125.010030.757@almaden.ibm.com>
  4. Date: Mon, 25 Jan 93 09:57:25 SWE
  5. Newsgroups: comp.os.os2.programmer
  6. Subject: Re: Starting full screen app from PM
  7. Reply-To: peterf@vnet.ibm.com
  8. Organization: IBM Corporation
  9. Disclaimer: This posting represents the poster's views, not those of IBM
  10. News-Software: UReply 3.1
  11. References: <1993Jan24.070106.513@ncsu.edu>
  12. Lines: 24
  13.  
  14. In <1993Jan24.070106.513@ncsu.edu> SEAN MICHAEL SCOGGINS writes:
  15. >I have a need to start a full screen program from a Presentation Manager
  16. >program.  The program need to run in it's own session, and not be
  17. >terminated when the PM app is ended (in other words, I need to be able
  18. >to do a 'start /fs progname' from within my PM program.  I am using
  19. >EMX/GCC and have tried both "spawnl(P_SESSION|P_FULLSCREEN,.....)" which
  20. >started the FS program just fine, but killed it when the PM program was
  21. >closed, and "system("start /fs progname)" which hung the machine!
  22. >
  23. >Any help is appreciated,
  24. >thanks in advance,
  25. >sean scoggins
  26. >
  27. >smscoggi@eos.ncsu.edu
  28. >
  29.  
  30. The OS/2 API DosStartSession is the right one to use for what you
  31. want to do. You'll need the OS/2 Toolkit, though.
  32.  
  33. Peter
  34. --
  35. Peter Forsberg           E-mail:  peterf@vnet.ibm.com          (primary)
  36.                                   d88-pfo@nada.kth.se        (alternate)
  37. Disclaimer: This posting represents the poster's views, not those of IBM
  38.