http://bugs.winehq.org/show_bug.cgi?id=19495
--- Comment #19 from robertgonder@embarqmail.com 2009-08-04 23:05:53 --- (In reply to comment #17)
First of all DialogBoxA() will never fail,
You ASUSUME it won't fail. It DOES! That's the point. It fails (returns -1) when it shouldn't (should return 0);
It doesn't fail here. Did you link the resources in?
A lost resource doesn't return 1400.
Your bug report talks about an invalid window handle, but your test doesn't even try to pass an invalid handle. What are you trying to test?
You and I both think 0 is a valid handle. But WINE complains. It returns -1 and 1400.
Would you like my original exe?