home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / win3l / 12870 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.3 KB  |  30 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!uvaarpa!darwin.sura.net!paladin.american.edu!auvm!INFERENCE.COM!GLOSTER
  3. Message-ID: <9301252024.AA24600@quaestor>
  4. Newsgroups: bit.listserv.win3-l
  5. Date:         Mon, 25 Jan 1993 12:24:30 PST
  6. Sender:       Microsoft Windows Version 3 Forum <WIN3-L@UICVM.BITNET>
  7. From:         "Vance M. Gloster" <gloster@INFERENCE.COM>
  8. Subject:      Spawnl(), execl(), or fork() under Windows.
  9. In-Reply-To:  "Christopher Matthews Keane"'s message of Sun,
  10.               24 Jan 1993 16:07:53 GMT
  11.               <9301250834.AB07854@fourier.inference.com>
  12. Lines: 16
  13.  
  14.   I am using BC++ 3.0 and trying to write a simple program to generate a
  15.   dialog box with radio buttons which in turn select an application to
  16.   execute.  I am finding that there is no spawn...(), exec...(), or
  17.   fork() functions useable under Windows! Or am I simply missing
  18.   something in the DOCS!  I would find it VERY hard to believe that
  19.   Windows does not support child processes (not only that plenty of
  20.   other Windows apps do -- but also that it is a pseudo-multitasking
  21.   environment).
  22.  
  23. WinExec is the function that you want.  You can even pass it a
  24. parameter telling the application what state it should come up in
  25. (minimized, maximized, normal, hidden).  Not all applications pay
  26. attention to this, however.
  27.  
  28. -Vance Gloster
  29.  gloster@inference.com
  30.