At 03:35 PM 8/28/2002 +1200, you wrote:
>Hi,
>
>We've just moved a whole stack of resources from rsrc to rcp
>files and altered the project by exporting the xml, changing the
>filenames from .rsrc to .rcp and imorting the xml again.
>
>All ok, except that when we double-click the file in the Project
>Inspector nothing happens.  On my machine double-clicking
>an rcp opens the Falch rcp editor so it's something to do with
>the environment on the machine the conversion was done on.

Actually, that's the Project Window... the Project Inspector is a separate 
window that appears when you tap the "Project Inspector" button in the 
project window.  This can be very useful: open it, then click on one of 
your .rcp files, and you'll see where the IDE thinks it is, and what file 
type the IDE thinks it is.

>We've checked that the Windows file association is to the
>app we want but CW doesn't seem to use that.  I can't find a
>setting for the editor app (as far as I can tell the file mappings
>settings define the compiler for that file type) and the IDE
>documentation doesn't say much on this subject.

Try using the "re-search for files" command from the Project menu.  Just 
changing the names in the XML file isn't enough, since the files are 
associated with different compilers.  Also, open the "File Mappings" panel 
and do a "Factory Defaults" to make sure all the extensions associate with 
the right things.

You can also try re-importing the XML file, with a few fixes.  If you still 
have the XML around, look for the sections that look like

                 <FILE>
                     <PATHTYPE>Name</PATHTYPE>
                     <PATH>RocksNewHighScore.rsrc</PATH>
                     <PATHFORMAT>MacOS</PATHFORMAT>
                     <FILEKIND>Resource</FILEKIND>
                     <FILEFLAGS>Debug</FILEFLAGS>
                 </FILE>

When you change the name from "RocksNewHighScore.rsrc" to 
"RocksNewHighScore.rcp" (for example), you should also change the FILEKIND 
from "Resource" to "Text".
-- 
Ben Combee
CodeWarrior for Palm OS Platform technical lead
[EMAIL PROTECTED]



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

Reply via email to