🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7665

spawnl(P_OVERLAY,...)

#7665
From: Sandy Pittendrigh
Date: Fri, 22 Jan 1993 14:20
16 lines
1495 bytes
	I'm trying to write an event-loop program that displays
a series of "RectAreas" on the screen. Clicking the mouse
on any one of these (in this case 4) rectangles would then
call spawnl() to start any one of 4 other programs. 
	My hope was to return control to the event loop after exiting
any such program, so the mouse could then choose again. I was able 
successfully call my programs with spawnl(P_WAIT, ...) but would
then exit to never-never land. So then I tried spawnl(P_OVERLAY, ...),
 which spawns successfully, but then exits to the dos prompt, rather 
than back to the event loop.  So this is my question: Is this what
spawnl(P_OVERLAY, ...) is supposed to do? (exit to the dos prompt). 
Or am I failing to return to the event loop because of memory 
overload?  (On a 386SX with 2 meg ram, Borland c++).
/*=======================================================================*/
/*                Sandy Pittendrigh  <Sandy@cs.montana.edu>              */
/*=======================================================================*/
Technical Details
Message-ID: <1993Jan22.142010.29943@coe.montana.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!srvr1.engin.umich.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!sandy

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!srvr1.engin.umich.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!sandy
From: sandy@cs.montana.edu (Sandy Pittendrigh)
Subject: spawnl(P_OVERLAY,...)
Message-ID: <1993Jan22.142010.29943@coe.montana.edu>
Sender: usenet@coe.montana.edu (USENET News System)
Organization: Dept. of Computer Science, MSU, Bozeman Mt 59717
Date: Fri, 22 Jan 1993 14:20:10 GMT
Lines: 16