Maybe a buffer that you allocate is not big enough. For example creating a
160x160 8bpp bitmap will work, but creating a 160x160 16bpp won't, as the
bitmap would be larger than 64kb.
Regards,
Miro
----- Original Message -----
From: "Pooja Jain" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Friday, April 01, 2005 15:14
Subject: Problem with SetScreenMode..
> Hi Forum,
> In my camera application on Treo650, I need to set color depth to 16 to
display captured images correctly. I am doing this using SetScreenMode(),
but with its usage after some operations my application crashes. Error
messages indicate that memory gets corrupted . If I donot use this function
then application works absolutely fine with only problem of distorted image.
>
> For camera operations I am using "PalmPhotoLib".
>
> Any help will be highly appreciated
> Thanks
> Pooja
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/