Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!eru!hagbard!sunic!news.funet.fi!funic!fuug!tuura!risto From: risto@tuura.UUCP (Risto Lankinen) Newsgroups: comp.windows.ms Subject: Re: Windows fork() equivalent? Message-ID: <773@tuura.UUCP> Date: 25 Sep 90 07:39:06 GMT References: <49450@olivea.atc.olivetti.com> Organization: Nokia Data Systems Oy Lines: 21 long@oliven.ATC.Olivetti.Com (Dave Long) writes: >libraries), and there seems to be something called WinExec, but I didn't >find it in the SDK anywhere. I'd like to do something spiffy with SHELL=, Hi! The WinExec is a new function in Windows SDK version 3.0 . I suppose you have a version earlier than that. (You can use WinExec with Windows SDK version 2.0, though, if you IMPORT it in the program's .DEF file. It is imported as KERNEL.166, and it takes two parameters, LPSTR lpszCmdLine and int nCmdShow . A failure to load the program is indicated by a return value less than 32 . There's more info in the Programmer's Reference Guide for Windows SDK 3.0 Terveisin: Risto Lankinen -- Risto Lankinen / product specialist *************************************** Nokia Data Systems, Technology Dept * 2 2 * THIS SPACE INTENTIONALLY LEFT BLANK * 2 -1 is PRIME! Now working on 2 +1 * replies: risto@yj.data.nokia.fi ***************************************