I have written a few small low-res Palm applications, and now I am 
trying to figure out how to use hires bitmaps.  I am using Codewarrior 8.3 
and the PilRC 2.9.10b plugin.  

        Right now I am trying to display a hires bitmap on a simple form.  
The project compiles fine, but when I try to run it using the PalmOS 5.2 
Simulator, the simulator process crashes.  According to the simulator 
event viewer, the crash occurs right after the frmOpenEvent occurs on my 
form.  

        The application works fine when I don't include a hires bitmap.  
Using PRC Explorer, I can preview the bitmaps in the lowres version just 
fine.  But, when I try viewing the bitmaps in the hi-res version, PRC 
Explorer crashes trying to read the resource.  So I am 99% sure the 
problem is with my RCP file (or the CW 8 PilRC plugin).  

        I searched the list archives, and found a post back in May 2003 by 
Dmitri Kornilov who was having a the exact same problem, but I couldn't 
find a reply with the solution.  

        I know PilRC 3.1 has better hi-res support, but I haven't been 
able to find a CW 8 plugin based on the 3.1 sources.  Is it possible to 
use PilRC 3.1 with CW 8?  If so, could someone tell me how?

        Sorry for asking such a simple newbie question, but I have tried 
everything I can think of with no success.  Any help or advice would be 
greatly appreciated.  I have included a copy of my RCP file below.

Regards,
William Osborne
[EMAIL PROTECTED] 

-----------------
Begin Code
-----------------

FORM ID Form1004 AT (0 0 160 160)
USABLE
BEGIN
        TITLE "HiRes Test"      
    FORMBITMAP AT (8 16) BITMAP ImageTest
END

BITMAPFAMILYEX ID ImageTest
BEGIN
    BITMAP "ImageBW.bmp"  BPP 1 DENSITY 1
    BITMAP "ImageColor.bmp"  BPP 8 COMPRESS DENSITY 1
    BITMAP "ImageHiRes.bmp" BPP 8 COMPRESS DENSITY 2
END 

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

Reply via email to