Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!pdxgate!eecs.cs.pdx.edu!bartonr From: bartonr@eecs.cs.pdx.edu (Non-Communist) Newsgroups: comp.sys.amiga.tech Subject: Re: Children and message ports Message-ID: <819@pdxgate.UUCP> Date: 3 Dec 90 04:13:47 GMT Sender: news@pdxgate.UUCP Reply-To: bartonr@eecs.cs.pdx.edu (Non-Communist) Organization: Portland State University, Portland, OR Lines: 8 peter@dbaccess.com (Peter A. Castro) writes: > Yes, you did. The CreateProc() function returns a Process structure > pointer. You must extract the MsgPort out of this structure and use > it in your call : PutMsg(procid->pr_MsgPort,msg). Nope, as documented in The AmigaDOS Manual, CreateProc() returns a process identifier, which is DOS-speak for a MsgPort pointer. And pr_MsgPort is a structure, not a pointer as required by PutMsg().