WLDAP32: tests for ldap_err2string{A,W} and LdapMapErrorToWin32

Hans Leidekker hans at it.vu.nl
Tue Aug 2 03:30:36 CDT 2005


On Tuesday 2 August 2005 06:52, Dmitry Timoshkov wrote:

> > +static const char* WLDAP32_error[] = {
> > +    "Success",
> 
> This test won't work on a not english locale once somebody adds
> translations for another language. You either need to prevent
> the test from running on locales different from english, or find
> another way how to test returned by LoadString error strings.

The test was perfectly OK before you talked me into doing the errors as
resource strings ;-) But you are right, and there already is a German
translation so I guess I'll have to fix it up.

 -Hans



More information about the wine-devel mailing list