Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!UTCVM.BITNET!JWANKERL From: JWANKERL@UTCVM.BITNET ("Josef W. Wankerl") Newsgroups: comp.sys.apple Subject: Storing print records in resource forks Message-ID: <9002071419.AA01801@apple.com> Date: 7 Feb 90 14:07:10 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 20 Im trying to write an NDA text editor and would like to be able to store the current print record in the resouce fork of the NDA. So, when the user reopens the NDA he/she won't have to go back to page setup and reset the the orientation, vertical sizing, etc. Thus far I have tried several different methods of doing this (including adapting the sample code from d e v e l o p), all of my attempts have resulted in the same error. When I try to update the resource, or (as detailed in the develop article) use the AddResource(); call, I get a "Access Not Allowed ($4E)" error. The file is not locked and the resource is not protected. Any ideas what the cause of this could be? Steven W. Disbrow Publisher of GS+ Magazine (Thanks to Gonzo) /**********************************************************************\ |* Joe "Gonzo" Wankerl |*| The views expressed here are *| |* BITNET => JWANKERL@UTCVM |*| not necessarily yours... *| |* |*| ...but they should be. *| \**********************************************************************/