Newsgroups: comp.lang.pascal Path: utzoo!utgpu!watserv1!maytag!watstat.waterloo.edu!dmurdoch From: dmurdoch@watstat.waterloo.edu (Duncan Murdoch) Subject: Re: TPW and EXEC()? Message-ID: <1991Jun19.170622.19115@maytag.waterloo.edu> Sender: news@maytag.waterloo.edu (News Owner) Organization: University of Waterloo References: <27237@adm.brl.mil> Date: Wed, 19 Jun 1991 17:06:22 GMT Lines: 26 In article oneel@heawk1.gsfc.nasa.gov ( Bruce Oneel ) writes: >In article <27237@adm.brl.mil> Mark@hamster.business.uwo.ca (Mark Bramwell) writes: > > > I have been looking through the TPW manuals and I do not see a routine to EXEC > another program (win or dos). How does someone run other programs such as > NOTEPAD.EXE from with a TPW app? > >This is going to be confusing. TPW only comes with half of the >documentation (in paper). One needs to go out and buy the Microsoft >SDK documentation for the windows functions. That's not completely true. The WinExec function which Mark needs is documented in the TPW Windows Reference Guide, and in the online help. The SDK documentation is helpful, though you can almost certainly get by without it if you get Petzold's book. The main advantage is that reading something 3 times (TPW, Petzold, SDK) tends to make it a tiny bit more comprehensible (at least to me) than reading it once or twice. The main things missing from the TPW documentation are a general philosophical summary, and examples of using the Windows API. You need at least Petzold for those. Duncan Murdoch dmurdoch@watstat.waterloo.edu