String I/O Lib

User avatar
Info-Mac
Administrator
Posts:13716
Joined:December 21st, 1988, 11:00 am
String I/O Lib

Post by Info-Mac » October 6th, 1996, 9:00 am

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]
Post Reply