Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!gatech!hubcap!mikeoro From: mikeoro@hubcap.UUCP (Michael K O'Rourke) Newsgroups: comp.sys.mac.programmer Subject: Re: Creating Resources??????? Message-ID: <4487@hubcap.UUCP> Date: 19 Feb 89 02:00:16 GMT References: <4481@hubcap.UUCP> <6569@hoptoad.uucp> Organization: Clemson University, Clemson, SC Lines: 16 In article <6569@hoptoad.uucp>, tim@hoptoad.uucp (Tim Maroney) writes: > In article <4481@hubcap.UUCP> mikeoro@hubcap.UUCP (Michael K O'Rourke) writes: > >I am trying to create and read from a resource to store user preferences. > >I created a data structure with two booleans and two inits. All the data > >writes out fine, but when I try to read it back in it gets messed up. > > Sounds like you're using File Manager I/O when you should be using > Resource Manager I/O. Use CreateResFile to make the file to store the Nope, I'm using the resource manager. I am using creatresfile and addresource just like you said, but it doesn't work. As I said, it writes everything out peachy keen. However, on reading in back it things get mucho fouled up. michael o'rourke clemson university