🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #3615

Re: Starting full screen app from PM

#3615
From: Peter Forsberg
Date: Mon, 25 Jan 1993 09:57
24 lines
1488 bytes
In <1993Jan24.070106.513@ncsu.edu> SEAN MICHAEL SCOGGINS writes:
>I have a need to start a full screen program from a Presentation Manager
>program.  The program need to run in it's own session, and not be
>terminated when the PM app is ended (in other words, I need to be able
>to do a 'start /fs progname' from within my PM program.  I am using
>EMX/GCC and have tried both "spawnl(P_SESSION|P_FULLSCREEN,.....)" which
>started the FS program just fine, but killed it when the PM program was
>closed, and "system("start /fs progname)" which hung the machine!
>
>Any help is appreciated,
>thanks in advance,
>sean scoggins
>
>smscoggi@eos.ncsu.edu
>

The OS/2 API DosStartSession is the right one to use for what you
want to do. You'll need the OS/2 Toolkit, though.

Peter
--
Peter Forsberg           E-mail:  peterf@vnet.ibm.com          (primary)
                                  d88-pfo@nada.kth.se        (alternate)
Disclaimer: This posting represents the poster's views, not those of IBM
Technical Details
Message-ID: <19930125.010030.757@almaden.ibm.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com
References: <1993Jan24.070106.513@ncsu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com
From: peterf@vnet.ibm.com (Peter Forsberg)
Message-ID: <19930125.010030.757@almaden.ibm.com>
Date: Mon, 25 Jan 93 09:57:25 SWE
Newsgroups: comp.os.os2.programmer
Subject: Re: Starting full screen app from PM
Reply-To: peterf@vnet.ibm.com
Organization: IBM Corporation
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.1
References: <1993Jan24.070106.513@ncsu.edu>
Lines: 24