Hi Pablo... The depth parameter is a pointer to an UInt32, not the actual UInt32. So you'll need to use something more like this:
UInt32 depth = 16; WinScreenMode(winScreenModeSet, NULL, NULL, &depth, NULL); David -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
