Hi, all. I do my Palm development on a Mac using CodeWarrior. I recently
have a need to do some joint development with someone who is on Windows (also
using CW). There is a big problem when it comes to copying the resource file
back and forth. I found a nice article in the Palm knowledbe base that outlines
the problem: http://oasis.palm.com/dev/kb/faq/1503.cfm

I'm wondering if anyone has done this in practice and could help? Ideally,
I'd like some way to generate the "flattened" resource file on the Mac. The
article makes reference to resource flattener utilities, but I've spent quite
some time searching the Palm site, shareware archives, and RoadCoders, and
I can't find any such utility. If someone has one, I'd be very grateful if
you could send it to me.

Beyond that, is there someone who knows how the creation of the resource.frk
directory actually gets done? In my tests, it seems to be very bizarre. For
example, if I copy a file, myproject.rsrc, to a PC-formated ZIP disk on my Mac,
then use Virtual PC (running Windows 2000) to mount that ZIP disk, there's 
no sign of the resource.frk directory. However, if I take the ZIP to an 
actual PC (also running Windows 2000), lo and behold, there it is. However,
what it contains is a DOS-format file name, something like MYPROJE~.RSR.
If I run Constructor and open the myproject.rsrc file, no resources show up.

However, if I manually rename the file in the resource.frk directory to
myproject.rsrc, and then run Constructor, it shows all the resources.

Unfortunately (as you would probably suspect), if I now take that combination
back to the Mac (myproject.rsrc with sibling directory resource.frk containing
myproject.rsrc), it shows as an empty file (the folder doesn't show up, of
course). On the Mac, it's only if the sibling resource.frk directory contains
the file named in DOS-format, i.e. MYPROJE~.RSR, that the Mac properly
recombines the files.

So I'm hoping that someone out there has dealt with this and has a way that
I can copy the resource file back and forth between the Mac and Windows without
having to do all this manual copying and file renaming at each step.

--Jim Preston

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to