On Friday 29 July 2005 15:55, Dmitry Timoshkov wrote:
How would you handle this using LoadString?
Something like this:
PCHAR ldap_err2stringA( ULONG err ) { static char buf[256];
if (!LoadStringA(wldap_hinst, err, buf, 256)) LoadStringA(wldap_hinst, IDS_DEFAULT_ERROR, buf, 256); return buf;
}
Thanks, that looks reasonable. Now let's see if I can learn how to do resource files...
-Hans