info-mac@uw-beaver (info-mac) (07/27/84)
From: Robert.White@CMU-CS-GANDALF After two very frustrating weeks I have found that my problem is really Apple's and I wish to warn you about it. Situation is as follows: I was defining a number of windows and set up my own storage for them in an array whose indices where also the resource number. The array indices ranged from 256 to 261. I used GetNewWindow. After Initializing each window I had the program spit out the specifics of the window...they were never what I had put into the resource file. Then I would get a fatal system error ID=2. As it turns out the problem is in how the compiler handles offsets for arrays. My only modification was to change the indeces to 1 to 6 and everything works fine! Beware the user of a Lisa that is developing for the Mac. Robert White Tech Rep for CMU to the AUC rjw@cmu-cs-gandalf