oleaut32: [Patch 1/2] VarCat must use localized names for VT_BOOL

Paul Vriens paul.vriens.wine at gmail.com
Fri Apr 17 05:02:07 CDT 2009

Paul Vriens wrote:
> Detlef Riekenberg wrote:
>> On Mi, 2009-04-15 at 13:37 +0200, Paul Vriens wrote:
>>> The lstrcpyW and lstrcatW additions to init() in the tests don't work 
>>> on   Win95. I guess that's where the new failures come from:
>> I removed a "broken(hres == VARCMP_GT)", and that's what VarCmp on 
>> your w95 machine returned.
>> My second Patch for oleaut32/tests/vartest.c was not applied, otherwise
>> we
>> would have seen the reason in the log.
>> Can you please use the attached diff and post the result?
>> Thanks
> Here it is:
> vartest.c:127: Tests skipped: No support for I8 and UI8 data types
> vartest.c:5452: got 0x0 and VT_BSTR(12True) for VT_INT(12), VT_BOOL(1)
> vartest.c:5455: got 0x2 for VT_BSTR(12True), VT_BSTR()
> vartest.c:5456: Test failed: Expected VARCMP_EQ, got 00000002 for 
> VT_BSTR(12True), VT_BSTR()
> vartest.c:5471: got 0x0 and VT_BSTR(12False) for VT_INT(12), VT_BOOL(0)
> vartest.c:5474: got 0x2 for VT_BSTR(12False), VT_BSTR()
> vartest.c:5475: Test failed: Expected VARCMP_EQ, got 00000002 for 
> VT_BSTR(12False), VT_BSTR()
> vartest: 1025087 tests executed (0 marked as todo, 2 failures), 1 skipped.
> As said. I think the reason for sz12_true being empty is that you are 
> using W-functions in the init() function.
The attached patch fixes 'my' issue on Win95 so it's indeed the use of



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20090417/8cc49b58/attachment.txt>

More information about the wine-devel mailing list