> > i am successfully using gcc 0.5.0 with SDK 3.5 :) just to let you know
> > it *is* possible.. however, i have to write / modify pilrc to support
> > 8 bit color bitmaps :)
>
> Oops! Forgot about that. Are you going to make your modification, to
> pilrc, available?
got pilrc ready for color bitmaps.. just need to write the code to
convert the .bmp file to a pilot bitmap resource :))
---
/* Convert from .bmp to Pilot resource data */
void ConvertWindowsBitmap(RCBITMAP *rcbmp,
PILRC_BYTE *pbResData,
int bitmapInfo)
{
<snip>
switch (bitmapInfo)
{
case BITMAP_COLOR:
{
// put code here to process pixel by pixel
}
break;
<snip>
}
---
i believe before this some code to dump the color table will be
required as well :(
cheers.
az.
--
Aaron Ardiri
Java Certified Programmer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 656 1143 A/H: +46 26 10 16 11