Why are you using PRC-Tools? From the image, you are creating the bitmap using PODS, so let the XRD processing of PODS generate your bitmap.

JamesS
Christian Giordano wrote:
I'm a newbie and I'm trying to import in my application a bmp. After having created the bmp named "heart.bmp":

http://nuthinking.com/temp/palm.png


I put in the .h:

#define HEART_image 5000


in the .rcp:

BITMAP ID HEART_image "heart.bmp" COMPRESS


and in the .c:

MemHandle rHandle = DmGetResource('Tbmp', HEART_image);


The error I'm getting is:

... "initializer element is not constant in file included from ....c"


The .h file is included of course in both the .rcp and the .c, what am I getting wrong?


Thanks a lot for any help, chr


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

Reply via email to