Thread View: comp.sys.amiga.tech
1 messages
1 total messages
Started by Neil Gilmore
Sun, 13 Jan 1991 08:34
Re: Shared IDCMP ports
Author: Neil Gilmore
Date: Sun, 13 Jan 1991 08:34
Date: Sun, 13 Jan 1991 08:34
25 lines
1686 bytes
1686 bytes
In article <6841@crash.cts.com>, lkoop@pnet01.cts.com (Lamonte Koop) writes... > >I'm having a problem utilizing a shared IDCMP port setup on a window >arrangement, and wonder if anyone can see a problem with what I'm doing. >I have one main window, and a second window is opened, after which I make >the following assignment; At the risk of sticking my neck out... I also had a problem with shared IDCMP ports, even though I was (apparently) doing everything correctly. Your routine looked right (I used the one from the RKM's nearly verbatim also). My problem turned out to be that I was using the menu to select when to close a window, the window which generated the message. Unfortunatly, I was using the real message, not a copy, and replying at the end of an event loop. What would happen was the message woudl come in, I'd close the window, then Reply() to the message. Of course, by the time I'd Reply(), the window didn't exist, or maybe the message I was Replying to was alredy Replyed to. In any case, a quick trip to the guru. The problem wasn't in closing the window, but what went on around closing the window. Now, I copy the message and Reply() immediately, and haven't crashed since on closing a window. Hope this helps.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads