matthews@eleazar.dartmouth.edu (Jim Matthews) (10/19/88)
I've been having trouble with a DA that sometimes opens windows in response to network traffic. This would typically happen during the DA's periodic action. The problem was that under MultiFinder, if the DA layer was not the front one, the created windows would show up in the current application layer! This straddling of layers would soon lead to catastrophy. Looking into it further I discovered that the current heap zone was not set correctly when my DA got periodic time -- even when the DA layer was not frontmost. So any memory allocated at that time would be allocated out of the current application heap, and windows would be opened in the wrong layer. Is this the way it's supposed to work? That would suggest that DAs can't allocate memory at accRun time, much less open windows. Jim Matthews Dartmouth Software Development