Ben Combee wrote:At 00:07 2003-6-3 +0800, Eric Lo wrote:The PRCExploer crash when viewing the icon, however I can run it in my palm which I never get the hi-res icon. Is there any setting in the CW that I have missed?
Hello,
I am using Pilrc 2.9p10 on CW8 trying to build a double density icon, however, it always shows the low-density one. I don't know why, when I delete the low-density one, the simulator crash.
Here is my code.
ICONFAMILYEX BEGIN BITMAP "bitmap/dora2.bmp" BPP 1 BITMAP "bitmap/dora24.bmp" BPP 16 DENSITY 1 BITMAP "bitmap/dora24aa.bmp" BPP 16 DENSITY 2 END
BTW, what is the size of the bmp should be? cos' I am using 32x32, however, the lower part of the icon is covered by the application name. Should I use 22x23 instead?
Use 22x22 as your icon size, which means 44x44 should be the double density icon size. Also, try inspecting your PRC file using PRCExplorer (search palmgear.com for it or see palmoswerks.com's Stuff I Like page) to verify that the bitmaps look OK inside your PRC file after they're built.
If PRCExplorer crashes, then you've got bad data. It is probable that PilRC is not converting your BMP file correctly, although I've not seen that happen often.
I assume you're using Neil Rhodes' PilRC-to-Rez plugin where the .rcp file creates a .r file. You should inspect the .r file, and if it looks good, I want you to find your .tmp file produced as the output of the 68K Linker, rename it and its counterpart in the RESOURCE.FRK folder to have a .rsrc extension, and to open that using Constructor 1.8 or later. See if Constructor can see your bitmap. If it can't, you should submit your bitmaps and a small .rcp file with that text to the http://sourceforge.net/projects/pilrc site as a bug so we can reproduce it and try to fix it.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
