🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #15718

Reverting With the Resource Manager

#15718
From: cohn
Date: Thu, 23 Apr 1987 17:22
16 lines
1233 bytes
Does anyone know a relatively easy way to do "revert" when using the
Resource Manager?  That is, if one changes the map, changes the data,
removes a resource or two (in memory), is there way to force the closing
of the resource file without it being updated?  Then reopenning the file
would result in loading the original data before the changes were made.
I think a look at SetResFileAttrs() might be the key but I'm not sure.
Any help would be much appreciated. The reason I ask is, I'm writing a
program which deals with resource files like ResEdit does.  It's not
that I hate the Data Fork, just that I need to use the resource format.


	Ted Cohn
	cohn@cory.Berkeley.Edu

	"How dare you say my best friend's green!"
	-Kirk Ole Boy
Technical Details
Message-ID: <18538@ucbvax.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!genrad!decvax!ucbvax!cohn

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!genrad!decvax!ucbvax!cohn
From: cohn@ucbvax.UUCP
Newsgroups: comp.sys.mac
Subject: Reverting With the Resource Manager
Message-ID: <18538@ucbvax.BERKELEY.EDU>
Date: Thu, 23-Apr-87 12:22:13 EST
Article-I.D.: ucbvax.18538
Posted: Thu Apr 23 12:22:13 1987
Date-Received: Sat, 25-Apr-87 05:13:53 EST
Organization: University of California at Berkeley
Lines: 16