[lazarus] Patch: message size (win32)

Marco van de Voort marcov at stack.nl
Sat Jul 26 08:51:35 EDT 2003


> 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)






More information about the Lazarus mailing list