Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!sun-barr!ames!haven.umd.edu!mimsy!mojo!russotto From: russotto@eng.umd.edu (Matthew T. Russotto) Newsgroups: comp.sys.mac.programmer Subject: Re: Shared addresses between applications with system 7 Keywords: Shared data, A5, Memory Manager Message-ID: <1991Jun13.145629.14699@eng.umd.edu> Date: 13 Jun 91 14:56:29 GMT References: <1991Jun12.204031.11225@cec1.wustl.edu> Sender: news@eng.umd.edu (C-News) Distribution: usa Organization: College of Engineering, Maryversity of Uniland, College Park Lines: 15 In article <1991Jun12.204031.11225@cec1.wustl.edu> jyp@wucs1.wustl.edu (Jerome Yvon Plun) writes: > > I need to have a block of memory available to two applications running >concurrently (one of the applications doesn't know about the goodies of >System 7 so I can't use either AppleEvents or raw PPC, and using a shared >file is too slow). I'm not sure what the problem here is. Assuming you can pass a pointer from one application to another, have one program do a NewPtr, pass the pointer (which is an absolute pointer) to the other program. Then both programs can access that area of memory (which actually exists in the first application's heap, but that is relatively unimportant...) -- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu .sig under construction, like the rest of this campus.