Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!mips!daver!kcdev!genco!rad From: rad@genco.bungi.com (Bob Daniel) Newsgroups: comp.sys.mac.programmer Subject: Re: storage in DA's Message-ID: <144@genco.bungi.com> Date: 2 Dec 90 17:10:12 GMT References: <1990Dec01.014848.1191@uhura.neoucom.EDU> Reply-To: rad@genco.bungi.com (Bob Daniel) Organization: Gentry & Assoc. Excelsior Springs, MO Lines: 14 In article <1990Dec01.014848.1191@uhura.neoucom.EDU> sam@uhura.neoucom.EDU (Scott A. Mason) writes: >I'm writing a desk accessory that needs to maintain a small database. >Since the database is small (< 40 items) I have decided to use STR# >structures in the resource file. I have the routines working that maintain >the database from the dialog boxes, but when I go to update and write the >resource file, the changes will not be saved permanently. The changes will, Before writing the resource, you need to do a ChangedResource(resHandle) or else it won't be written out. WriteResource will only write if the resChanged resource attribute is set. _________ moof moof