Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!eru!luth!sunic!mcsun!ukc!harrier.ukc.ac.uk!mtp From: mtp@ukc.ac.uk (M.T.Paley) Newsgroups: comp.sys.atari.st Subject: Gem messages Message-ID: <2845@harrier.ukc.ac.uk> Date: 20 Oct 89 20:47:48 GMT Reply-To: mtp@ukc.ac.uk (M.T.Paley) Organization: Computing Lab, University of Kent at Canterbury, UK. Lines: 29 Hello, Has anyone ever managed to send a message to a desk accessory in GEM? It always bombs out whenever I send a message to any but the process that is sending the message ( the ap_id returned by appl_open() ). E.G. : ap_wid = appl_find("MYACC "); /* This bit works */ gets(message); /* Unimportant */ appl_write(ap_wid,strlen(message),message); /* This crashes */ : However if appl_find is given the name of the current process then this code works fine. It is not the desk accessory that is at fault as it works perfectly with system messages sent by the AES. Anyone tried anything similar at any time? Any information would be appreciated, probably replying by e-mail would be best to avoid boring everyone! Much appreciated: Matthew ******************************************************************************** Janet: mtp@uk.ac.ukc phg445@uk.ac.ukc.saturn@uk.ac.ukc