[futurebasic] Re: [FB] OS 9

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2002 : Group Archive : Group : All Groups

From: Robert Purves <robert.purves@...>
Date: Thu, 2 May 2002 21:01:34 +1200
On Thursday, May 2, 2002, at 09:54  AM, Robert Covington wrote:

> I am suffering some living hell copy-paste-bitmaptoregion  problem 
> specific
> only to OS 9+.
>
> Anybody know of any issues with things like that in OS 9 that don't 
> occur
> in other version OS's?

There is a recently-discovered issue with the new G4 iMacs (with GeForce 
video) running OS 9.2.2.
A crash can occur when CopyBits
      CopyBits( #srcGW+2, #destGW+2, #srcR, #destR, cMode, 0)
is used with a source rectangle that extends outside the source GWorld's 
bounds.
Apparently the source rect is not being clipped correctly.
The crash does not occur in Classic under OS X.

You could try SectRect srcR with the source GWorld's bounding rect, 
before calling CopyBits, and see if that fixes your problem.

Robert P.