Download: http://archive.info-mac.org/dev/lib/str ... ib-109.hqx
Routines for importing and exporting longer than 255 C string to and
from resources.
Simply declare your string, and when you want to write it to disk, call:
OSErr WriteStrToResource(const char theString[], short ResID);
When you want to read a string into memory, you just need to call:
OSErr ReadStrFromResource(char outStr[], short ResID);
If you have any question or problems, you can email me at [email protected]
Douglas Turner
Email address: [email protected]
