Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!psuvax1!psuvm!barilvm!bguvm.bitnet!reshef1 From: RESHEF1@BGUVM.BITNET (Eran Reshef) Newsgroups: comp.sys.mac.programmer Subject: Re: Inter-Process Communication Message-ID: <707RESHEF1@BGUVM> Date: 7 Aug 90 15:35:43 GMT References: <1990Aug4.063810.14788@cs.uoregon.edu> Distribution: usa Organization: Ben-Gurion University, Beer-Sheva, Israel Lines: 25 There isn't an IPC on the Mac yet, but here is a quick and dirty approach (I never tried it, but I don't think it shouldn't work): Use the system resource file, which is common for all the application, as a place to leave messages. Define a resource type which will hold the messages. Each app will check this resource type in its main event loop. If it finds any, it will check it, decide whether it belongs to itself and if it does remove it & handle it. To post a message, AddResource of the known type to the system file. The resource should be something like: msg = record from : Str255; { the name of the sender } to : Str255; { the name of the recipient} message: Str255; end; I hope this helps. ------- Eran Reshef, Micro Department, Computation Center, Ben-Gurion University of the Negev, Beer - Sheva, Israel. Bitnet : RESHEF1@BGUVM.BITNET "Vanity of vanities, all is vanity"