Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!caesar.cs.montana.edu!ogicse!decwrl!shelby!portia!jessica!duggie From: duggie@jessica.Stanford.EDU (Doug Felt) Newsgroups: comp.sys.next Subject: Re: Fake events Keywords: fake event FrameMaker Message-ID: <8535@portia.Stanford.EDU> Date: 24 Jan 90 21:58:51 GMT References: <1465@mit-amt.MEDIA.MIT.EDU> <11873@csli.Stanford.EDU> Sender: USENET News System Reply-To: duggie@jessica.Stanford.EDU (Doug Felt) Organization: Stanford University Lines: 20 In article <11873@csli.Stanford.EDU> dayglow@csli.stanford.edu (Eric T. Ly) writes: >... The only call >that I know of that'll let you do post an event to another DPS context >is DPSPostEvent(), but this call requires a DPSContext argument of the >application you intend to send the event to. This means that you >somehow have to get the DPSContext value of the other application, >which doesn't seem possible at the moment without the cooperation of >the other application. Also, the DPSContext is a pointer to some >struct in C, so it may not point to the same thing in different memory >spaces. Actually, DPSPostEvent is one of a small number of routines with the DPS prefix that does not take a context argument. DPSPostEvent only posts to the current event's queue. I myself am also interested in learning how one can post events to another application's event queue. This probably involves security issues, though, so may not be possible (and perhaps should not be). Doug Felt