> From: Syed Najeebullah Hussaini [mailto:[EMAIL PROTECTED]]
> Something u shud do like this before using it in WinRGBToIndex
> rgbP = (RGBColorType *) MemPtrNew(sizeof(RGBColorType));

Why on earth would you heap-allocate a 4-byte structure?

-slj-


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

Reply via email to