Hey Ben, Thanks! The solution that Mike used worked great for me. I haven't tried it on an actual device yet but it no longer has horrible problems in the Emulator.
Thanks to everyone who made suggestions... I realize now that I'll have to make it clear that I've already checked for NULL pointers, etc, next time. Eric http://www.sniderware.com On 3/25/02 1:19 AM, "Ben Combee" <[EMAIL PROTECTED]> wrote: > In article <81124@palm-dev-forum>, [EMAIL PROTECTED] says... >> >> 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(). I think it must have to >> do with direct color versus 8 bit color, but I'm not sure what the deal is >> beyond that. Maybe my form doesn't have a color table? From all the >> documentation it seems that they automatically create an 8 bit color table >> though. Has anyone else run into this? What am I doing wrong? > > Mike McCollister was having the same problem a few months ago. See > http://www.escribe.com/computing/pcpqa/m40643.html for his solution to > it. It looks like a bug in Handspring's implementation of this call > when the added 16-bit support. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
