Thread View: comp.os.msdos.programmer
1 messages
1 total messages
Started by Sandy Pittendrigh
Fri, 22 Jan 1993 14:20
spawnl(P_OVERLAY,...)
Author: Sandy Pittendrigh
Date: Fri, 22 Jan 1993 14:20
Date: Fri, 22 Jan 1993 14:20
16 lines
1495 bytes
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> */ /*=======================================================================*/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads