The ID keyword is optional on some of the resources... Regarding the Menu problem:
When compiling the rcp-file (with pilrc), you should see a set of .bin files in your build directory. They all have the resource type as its prefix and a hex-number as the rest of the filename. (ex.: tfrm0e8a.bin). Your menu should be compiled into a file called something like "MBAR03e8.bin", where 03e8 is replaced with the ID you use on the menu. When you compile all the binary resources into a prc-file with build-prc, all bin-files should be included in the final prc-file, since you (if I remember correctly from your previous postings) are including *.bin on build-prc's commandline. To see if the final prc-file actually includes your resource, use a tool like par: http://www.djw.org/product/palm/par/ Writing par -t your.prc on the command line will hopefullly show you which resources that made it into the resulting prc-file. Christian Falch <http://www.falch.net> ----- Original Message ----- From: "Ed Lineberry" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, January 25, 2002 2:13 PM Subject: Re: My never ending struggle with menu bars and gcc/pilrc development > > Hi Alan, > > The sourceforge.net project page has a link to download sample > applications. I don't know if any of them qualify as HelloWorld, but if > they don't work you might have problems. > > http://sourceforge.net/project/showfiles.php?group_id=4429&release_id=55473 > > Looking at your rcp file, this might be a problem: > > MENU ID primaryMenu > BEGIN > PULLDOWN "Info" > BEGIN > MENUITEM "Help" miHelp "h" > MENUITEM "About" miAbout "i" > END > END > > > Maybe it should be: > > MENU ID primaryMenu > BEGIN > PULLDOWN "Info" > BEGIN > MENUITEM "Help" ID miHelp "h" > MENUITEM "About" ID miAbout "i" > END > END > > Pilrc compiles both without error or warning, but I _think_ the first is > incorrect. At the very least it is different syntax than what's on the > manual page at www.ardiri.com. > > HTH, > > Ed > > > -- > 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/
