--- Eric Snider <[EMAIL PROTECTED]> wrote: > I'm having problems with WinRGBToIndex() on the Visor > Prism. Here's the report from the Emulator: > > "Ultimate (1.0) just read from memory location 0x00000000, > which is in low memory..." > > When this happens it's on a call to WinRGBToIndex().
It seems likely that you have passed a NULL pointer in to WinRGBToIndex(), which expects a pointer to a RGBColorType. For Example: RGBColorType *rgbP = NULL; IndexedColorType ict; ... ict = WinRGBToIndex(rgbP); // rbbP is 0x00000000 so this fails __________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards� http://movies.yahoo.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
