<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;">----- Original Message ----<br>From: Alexandre Julliard &lt;julliard@winehq.org&gt;<br>To: Louis. Lenders &lt;xerox_xerox2000@yahoo.co.uk&gt;<br>Cc: wine-devel@winehq.org<br>Sent: Friday, 22 August, 2008 4:54:49 AM<br>Subject: Re: user32: fix error setting in FindWindow (try 2)<br><br>"Louis. Lenders" &lt;<a ymailto="mailto:xerox_xerox2000@yahoo.co.uk" href="mailto:xerox_xerox2000@yahoo.co.uk">xerox_xerox2000@yahoo.co.uk</a>&gt; writes:<br><br>&gt; diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c<br>&gt; index 1964e88..246347f 100644<br>&gt; --- a/dlls/user32/tests/win.c<br>&gt; +++
 b/dlls/user32/tests/win.c<br>&gt; @@ -4789,14 +4789,20 @@ static void test_hwnd_message(void)<br>&gt;&nbsp; &nbsp; &nbsp; SetLastError(0xdeadbeef);<br>&gt;&nbsp; &nbsp; &nbsp; found = FindWindowExA( GetDesktopWindow(), 0, 0, "message window" );<br>&gt;&nbsp; &nbsp; &nbsp; ok( found == 0, "found message window %p/%p\n", found, hwnd );<br>&gt; -&nbsp; &nbsp; todo_wine<br>&gt; -&nbsp; &nbsp; &nbsp; &nbsp; ok(GetLastError() == ERROR_FILE_NOT_FOUND, "ERROR_FILE_NOT_FOUND, got %d\n", GetLastError());<br>&gt; +&nbsp; &nbsp; ok(GetLastError() == ERROR_FILE_NOT_FOUND, "ERROR_FILE_NOT_FOUND, got %d\n", GetLastError());<br><br>&gt;Have you tried your test on Windows?&nbsp; According to the test results<br>&gt;there isn't any Windows version that sets last error here.<br><br>If you're talking about the test above, that was a test written by someone else, i think it was committed on wednesday or so. I only take out the "todo_wine" there; <br>i assumed that test
 passed on windows, as the patch was committed, but i now see on the test results page that it doesn't. <br><br>I did run the test on windows yesterday ,&nbsp; the whole console got spammed with lots of messages, and i guess i&nbsp; overlooked something then ( i now see on the testpage that the failing test appears in the first lines of the spam, i only overlooked the last part in the console as i expected an eventually failing test there) <br><br>As FindWindowEx apparently doesn't set an error, I'll have to recheck what FindWindow does on windows<br><br></div></div></div><br>Send instant messages to your online friends http://uk.messenger.yahoo.com </body></html>