[lazarus] Bug in Win32 code

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Nov 17 09:53:49 EST 2002

On Sun, 17 Nov 2002 15:47:15 +0100
Martin Smat <martin.smat at tiscali.cz> wrote:

> Hi,
>    there is a serious bug in Windows specific code. This is in file
> win32proc.inc. The result value in function ObjectToHwnd(...) is in some
> cases uninitialized (for example when using toolbarbuttons - AObject is
> TWinControl but AObject.HandleAllocated returns False), which often
> causes Windows crashing. Now I´m able to run toolbar example without 
> crashing Windows. Please apply the attached patchfile for fixing
> this.

Thx. Applied.


More information about the Lazarus mailing list