Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!apple!oliveb!orc!decwrl!adobe!hawley From: hawley@adobe.COM (Steve Hawley) Newsgroups: comp.sys.mac.programmer Subject: Re: Str255 --> 'STR ' how? Message-ID: <3122@adobe.UUCP> Date: 13 Jun 90 00:24:48 GMT References: <1990Jun12.174107.29196@ucselx.sdsu.edu> Reply-To: hawley@adobe.UUCP (Steve Hawley) Organization: Adobe Systems Incorporated, Mountain View Lines: 23 In article <1990Jun12.174107.29196@ucselx.sdsu.edu> purcell@sciences.sdsu.edu (Guy B. Purcell) writes: >I know this is probably soooo simple, but... How do I save the contents of a >Str255 string in a 'STR ' rsrc? I'm saving config settings, and have managed to >save them if the new string is <= the old one in length (char-by-char). Is >there some standard method of doing this (non-char-by-char so length is not a >factor)? Thanks. > Gary -- You might want to consider this: If you are putting configuration information INTO THE APPLICATION ITSELF, it will not function correctly on a read only file server. If you are writing this application for yourself, fine, but if write for "the rest of us" please keep this in mind: Configuration files should go in the system folder of the startup disk. As to your real question, I'll punt --my copies of IM are in a box and being held by a moving company until I have a place to live... Steve Hawley hawley@adobe.com -- "A blow on the head is... ...worth two in the bush." -Basil Fawlty