From: pandeng@telepath.com (Steve Schafer (TeamB)) Subject: Re: When do the pointers returned by TBitmap.ScanLine alter? Date: 11 Aug 1999 00:00:00 GMT Message-ID: <37dd1999.370001551@90.0.0.40> Content-Transfer-Encoding: 7bit References: <7oqdp7$b1d6@forums.borland.com> Content-Type: text/plain; charset=us-ascii Organization: TeamB Mime-Version: 1.0 Reply-To: pandeng@telepath.com Newsgroups: borland.public.delphi.graphics On Wed, 11 Aug 1999 09:50:44 +1000, "Paul Nicholls" wrote: >Hi all, I was wondering, if I wanted to store the pointers to some ScanLines >from a bitmap into some variables, when would I have to update these >variables to have the pointers be valid again? I don't think it's ever really safe to keep a copy of a ScanLine pointer. Even if it were safe to do so under some circumstances in one version of Delphi, it might not be safe under those same circumstances in the next. Obtain a ScanLine pointer, use it immediately, and then throw it away. -Steve