--- Max Bian wrote: > I got the sdk examples from palmos.com. All the *.rsrc files > have 0-byte size.
*All* of the files probably don't have 0 bytes. Rsrc files are stored in two parts: a data fork and a resource fork (this is a Mac thing, but CodeWarrior uses this format on Windows, too). Since a rsrc file contains only resources, the data fork is empty and everything you care about is in the resource fork. Therefore, each resource file is stored like this (using the MemoPad source code as an example): In ...\SDK40-examples\Examples\Memo\Rsc MemoEdit.rsrc - 0 bytes In ...\SDK40-examples\Examples\Memo\Rsc\Resource.Frk MemoEdit.rsrc - 892 bytes If you have properly installed CodeWarrior and Constructor, double click on the 0-byte MemoEdit.rsrc to open it and you will see it contains a form and a string. > Anyway is there any way to translate the rsrc files into > a rcp file for Pilrc, if I can get them after all? See the "Rez/DeRez" thread. __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
