[lazarus] Patch: message size (win32)

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Jul 26 09:01:14 EDT 2003


On Sat, 26 Jul 2003 15:21:19 +0200 (CEST)
marcov at stack.nl (Marco van de Voort) wrote:

> > Micha Nelissen <M.Nelissen at student.tue.nl> wrote:
> > 
> > > Hi,
> > > 
> > > Attached is a patch for fixing the size of messages. As now known in 
> > > win32callback.inc some messages are larger than 16 bytes. I have now 
> > > changed the code to use an 26 byte array for storing the message data 
> > > and casting the various messages to it.
> > 
> > Ehm. I already fixed WindowProc one and a half hour ago to work with
> > messages of arbitrary length and without the need to typecast
> > everything. Didn't you receive the mail?
> 
> CB_INSERTSTRING still has that dangerous construct (though currently the
> problem spot, userdata is commented. That wasn't the case yesterday)

Sorry. I didn't notice that my commit timed out. It is now committed.


Mattias






More information about the Lazarus mailing list