WinHandle WinSaveBits(const RectangleType *source, UInt16 *error)
Presuming that you are calling the function correctly, are you inadvertently freeing the handle ("handle") at some point so that the WinRestoreBits(handle,x,y) command can not find it?
Bob.
Jan Slodicka wrote:
Hello,
does anybody know what this means?
I want to do a progress and for that sake I am drawing a rectangle and filling it. First step is handle=WinSaveBits() and the last step calls WinRestoreBits(handle).
Progress is used inside a callback called from an app started via SysAppLaunch().
The whole thing works under M68K and to an extent under ARM - i.e. until WinRestoreBits() is called, which results in a fatal alert written in the email subject. If I remove WinRestoreBits, then everything works - except bad drawing effect.
Regards, Jan Slodicka
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
