WLDAP32: implement ldap_err2string

Frank Richter frank.richter at gmail.com
Fri Jul 29 08:40:20 CDT 2005


On 29.07.2005 15:23, Hans Leidekker wrote:
> On Friday 29 July 2005 14:45, Dmitry Timoshkov wrote:
> 
>> I'd suggest to move all strings into a stringtable and load them
>> by LoadStringA/W. That way you get internationalization for free.
> 
> But according MSDN:
> 
>> The return value is a static pointer to the character string.
>> Do not free this string. 
> 
> How would you handle this using LoadString?

Hm, perhaps load all strings at DLL init time and free them when the DLL
gets unloaded again?

-f.r.




More information about the wine-devel mailing list