Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!cbmvax!ken From: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Newsgroups: comp.sys.amiga.programmer Subject: Re: CreateProc() vs. CreateNewProc() Message-ID: <19771@cbmvax.commodore.com> Date: 12 Mar 91 14:15:13 GMT References: Reply-To: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Distribution: comp Organization: Commodore, West Chester, PA Lines: 18 In article stefanb@cip-s02.informatik.rwth-aachen.de (Stefan Becker) writes: >I have a program which starts programs by using LoadSeg/CreateProc and then >sending a WBStartup message to the new process (standard WB callup method). >Since the program runs only under 2.0, I wanted to use the new DOS function >CreateNewProc(), but it didn't function properly. > >What tags do I need to make CreateNewProc() behave FULL compatible to >CreateProc()?? If you're used to programming with CreateProc(), then you must use a bit of care when switching to CreateNewProc(). The biggest problem is that CreateProc() returns a pointer to the message port of the process structure, and CreateNewProc() returns a pointer to the process structure. -- -- Ken Farinsky - CATS - (215) 431-9421 - Commodore Business Machines uucp: ken@cbmvax.commodore.com or ...{uunet,rutgers}!cbmvax!ken bix: kfarinsky