James Hawkins wrote:
On 2/7/06, Eric Frias <efrias(a)syncad.com> wrote:
When OpenClipboard is called twice in a row with the same HWND as a parameter, wine lets the first call succeed, but the second call fails because the clipboard was already locked. Although it's not specified in the docs, Windows allows the second call to succeed (and something deep inside of our app depends on this). I think I submitted a version of this patch a year or two back, but it wasn't accepted.
You should add a unit test for this case in Wine's test suite. It If you look at the bottom of his patch you will see that he already did that ... .
would be pretty easy to write, and it would verify this information, making your fix more likely to be accepted.
bye michael -- Michael Stefaniuc Tel.: +49-711-96437-199 Sr. Network Engineer Fax.: +49-711-96437-111 Red Hat GmbH Email: mstefani(a)redhat.com Hauptstaetterstr. 58 http://www.redhat.de/ D-70178 Stuttgart