SendMessage on win64 bug is caused by TCopyDataStruct struct being wrong,
i've just proven it with the help of dmitry boyarintsev - changing the
first part of the data structure to a PtrUInt and it works. it was a dword.
for me i just use my own stuct but i suggest we get a TCopyDataStruct64
added in. this would solve the issue.
----- Original Message -----
From: "John vd Waeter" <[email protected]>
To: "Lazarus mailing list" <[email protected]>
Sent: Friday, April 23, 2010 7:58 PM
Subject: Re: [Lazarus] SendMessage Bug Work Around.
AFAIK: In Windows
PostMessage puts a message in the queue and returns immediately.
SendMessage puts the message in the queue and returns with a result after
the message has been handled.
But I might be wrong...
John
Michael Schnell wrote:
I now found that SendMessage provides a Result, while PostMessage only
returns a success flag. So they are less similar than I thought (and the
Windows API definition is still more cryptic :( )
-Michael
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus