[2/2] oleacc: implemented GetRoleText[A/W] with tests (try3)

Nikolay Sivov bunglehead at gmail.com
Mon Oct 6 08:01:38 CDT 2008


Dmitry Timoshkov wrote:
> "Nikolay Sivov" <bunglehead at gmail.com> wrote:
>
>>>> to prove this I need to add a new module named oleaccrc.dll which 
>>>> contains this resources on Win.
>>>
>>> I don't understand the argument about oleaccrc.dll.
>>>
>> This module contains localized resource strings used by GetRoleText 
>> in Win. I tried to avoid adding it but it's the only way to make test 
>> check returned length for each string.
>
> Is there any reason you can't use lstrlenA/W on the buffer after a 
> successful
> GetRoleText invocation and compare it with the value returned by the 
> call with
> NULL buffer?
>
Hm. No, I think there's no such reason.



More information about the wine-devel mailing list