Sounds good to me ... cut! print! add it to the FAQ! -- -Richard M. Hartman [EMAIL PROTECTED] 186,000 mi/sec: not just a good idea, it's the LAW! Bradley Ward wrote in message <38385@palm-dev-forum>... > >I see, said the blind man... Your "(data fork)" helped clarify things for >me. Correct me if this explanation is incorrect (my words): > >--------------- >The Macintosh has a concept of a "data fork" and a "resource fork". For >those from the Microsoft Visual Basic world, this would be somewhat >analogous to the way a form in VB is saved into two files; a .frm file that >contains a part of the form definition, and a .frx file that contains >another part. Both have to be kept together. Since Code Warrior came from a >Macintosh world originally, it carries along this way of handling files. > >In Code Warrior's case, the foo.rsrc file that is in the RSC folder is the >"data fork" part of the matched pair of files, and the file that is in the >RSC/RESOURCE.FRK folder is the "resource fork" part of the pair of files. >Since a resource file (pair) is mostly about containing resource >information, the one in the RSC level is 0 length, and the one below in the >RSC/RESOURCE.FRK folder is NOT zero length, since that is where the resource >data actually resides > >If you need to copy a resource file from one project to another, you must >copy BOTH parts; the 0 length part and the non-zero length part. >-------------- > >To anyone reading this from the archives... the above may not be correct. >Hopefully someone more knowledgeable than I will either bless these >statements or correct me, so make sure you look for such >blessings/corrections/rejections... > >BWW > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED]]On Behalf Of Scott >> Johnson (Bellevue) >> Sent: Monday, February 05, 2001 2:19 PM >> To: Palm Developer Forum >> Subject: RE: RESOURCE.FRK >> >> >> > From: Bradley Ward [mailto:[EMAIL PROTECTED]] >> > Which ones do I copy to my new project? >> >> Both. The zero-length one (data fork) does need to be present in >> order for >> >> Constructor to see the whole thing, and the resource fork needs to be in a >> subdirectory named exactly Resource.frk (case insensitive). >> >> -slj- >> >> >> -- >> For information on using the Palm Developer Forums, or to >> unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ >> > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
