Forum Navigation
You need to log in to create posts and topics.

Re: External Resources

Posted by: wave <wave@...>

I'm confused, Mel...why are you leaving the file open? If your app crashes
then, as I understand it, the file may be damaged.

Maybe, though, your new data is larger than the old data that was stored in
the res handle and is overwriting something else. Are you sure that your
memory block is large enough hold your new data?

Regards.

>I am writing an app that uses external resources (actually runs with the
>resource file open). Once in a while (phase of moon; etc), the data goes
>off to MacsBug. I locked down the handle to the resource I want to write to
>the file, so on.
>
>BUT should I be setting something like
>"SETRESATTRIBPLEASEDONTLOOSEMYDATAAGAIN" bits or something?
>
>Mel Patrick - theWabbitGuy - mel@intergate.bc.ca
>http://www.intergate.bc.ca/business/mel
>
>
>--
>To unsubscribe, send ANY message to <futurebasic-unsubscribe@welovegod.org>

____________________
Use e-mail with integrity.
M Goodes (wave@netcom.ca)