>I keep a customer list in an external customer file that has it in the data >fork and in a str# resource. The same resource is in the application because >I want it to display in a scrolliong list. I think I am doing something wrong >with the resources that is causeing the application to crash with a -199 >error. You have to trash the app and replace it when this happens, more >evidence I am doing something wrong with resources. > >I get the resource from the external file, modify it and replace the >resources in the external file and in the application file so that everyone >has an updated copy. > >I use CALL UPDATERESFILE (gResRef) but I wonder if this is correct. Since I >just did a pGreplaceRes to put the new modified resource in the application, >that function calls the FN pGchangedResource function. Is that all that needs >to be done? UpdateResFile forces an immediate write of the file to the cache (not the disk). The file is updated anyway when it is closed, so all this does is slow everything down. As a caution tho, you should flush the volume after you close the file. Best, -STAZ ~)~ 800.348.2623 Orders http://www.stazsoftware.com 228.255.7086 FAX mailto:staz@...