[futurebasic] Re: [FB] data as resource file

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 1999 : Group Archive : Group : All Groups

From: Alain Pastor <apastor@...>
Date: Tue, 05 Jan 1999 21:22:51 +0100
Hello Gary,

I told you that the functions I posted in reply to your request were not bullet
proof and it came to my mind some possible failures in createResource:
you must assure yourself you are writing to the right resource file with the
help of CurResFile and UseResFile, when the function has done its job set the
current resfile to what it was before the call, you must also set the
respurgeable attribut to true (in my case, I did it manualy in ResEdit), then
you must get rid off the handle after the data has been stored, probably with
ReleaseResource because the regular handle has become a resource handle.

Alain