• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Rez -> SysError 0?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rez -> SysError 0?


  • Subject: Re: Rez -> SysError 0?
  • From: Dave MacLachlan <email@hidden>
  • Date: Thu, 28 Apr 2005 13:44:48 -0700

Chris,

According to the MPW docs:

The Read statment defines a resource and reads the data fork of a file as the data for the resource.

and further...

The type of the resource being defined should be appropriate for the data being read: 'TEXT' or 'STR ' for text, 'PICT' or 'ICON' for bitmap data, and so forth.

So I think I'm using it correctly.

Cheers,
Dave

On Apr 28, 2005, at 13:31, Chris Espinosa wrote:

On Apr 28, 2005, at 9:01 AM, Dave MacLachlan wrote:

Anybody know why Rez would be giving me SysError 0? Isn't 0 normally noErr?Im trying to read a text file into a resource doing something like this:

read 'VIEW' (2001, "My View", purgeable) "MyView.txt";

and "MyView.txt" appears to be accessible via the -i args that I've given to Rez. I've used Full Paths just to make sure.

read is for reading resource files.  If you want to inject a text file into a .r file you probably want the #include directive.

Chris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Rez -> SysError 0?
      • From: Chris Espinosa <email@hidden>
References: 
 >Rez -> SysError 0? (From: Dave MacLachlan <email@hidden>)
 >Re: Rez -> SysError 0? (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Rez -> SysError 0?
  • Next by Date: Re: Rez -> SysError 0?
  • Previous by thread: Re: Rez -> SysError 0?
  • Next by thread: Re: Rez -> SysError 0?
  • Index(es):
    • Date
    • Thread