[Bug 19495] DialogBox() returns -1 for Invalid Window Handle, Should Be 0

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 4 23:05:53 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=19495





--- Comment #19 from robertgonder at 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?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list