[lazarus] Patch: SetCursor AV (win32)

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Jul 2 15:45:31 EDT 2003


On Wed, 2 Jul 2003 21:55:13 +0200
"Micha Nelissen" <mdvpost at hotmail.com> wrote:

> Vincent Snijders wrote:
> > On Wed, 2 Jul 2003 18:18:47 +0200 (W. Europe Daylight Time)
> > Michael Van Canneyt <michael.vancanneyt at wisa.be> wrote:
> >
> >>
> >>
> >> On Wed, 2 Jul 2003, Mattias Gaertner wrote:
> >>
> >>> On Wed, 2 Jul 2003 17:07:37 +0200
> >>> "Micha Nelissen" <mdvpost at hotmail.com> wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> Attached is a patch to fix AV's when TControl.SetCursor is called.
> >>>> A
> >>>> lookup map was needed to translate between TCursor and win32 IDC_*
> >>>> constants. It would be nice if those were defined as constants
> >>>> instead of
> >>>> functions, therefore I have included them as constants.
> >>>
> >>> ok
> >>
> >> Despite all these patches, all examples crash with a double exception
> >> message on my machine :/
> >>
> >> Michael.
> >
> > Attached is a patch to solve this AV. It was due to too much (or not
> > enough) clean up in the critical section code.
> 
> Hmm, it seems my patch (all.patch) was not applied? Mattias, can you check
> that? Getting a lot of conflicts here... I think I made the same changes
> as you, but you commented them, and I removed them.

Sorry. I hope this correct now.

Mattias






More information about the Lazarus mailing list