When running my program on a OS 3.5 IIIc, the map pan feature based on
WinCopyRectangle (following stylus moves) often crashes with the
following stack crawl (seen in the CW 8.3 debugger):

MapHandleEvent( EventType* )
0x10C55E52( WinCopyRectangle )
0x10C4E0D2( BltCopyRectangle )
0x10C4E0D2( BltCopyRectangle )
0x10C51E32( PrvMisAlignedBackwardInnerBitBlt� )

What can I do about this (other than telling my user to ditch his IIIc)?
I never saw this occur on another device, monochrome or color.

I ran into the same problem with some picture pan code. From an old post...

At 12:25 PM -0800 2/17/01, Ken Krugler wrote:
2. When calling WinCopyRectangle(screen, off-screen) and the off-screen window uses a bitmap without a color table, then Palm OS 3.5 will accidentally dispose of the system color table, and a subsequent call will die in Poser. I think this same situation might occur in the inverse case as well.

The full post is at <http://www.escribe.com/computing/pcpqa/m34989.html>

I fixed it in my code by making sure the off-screen bitmap had a color table.

-- Ken
--
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to