"Steve Holme" <steve_ho...@hotmail.com> wrote:
Hehehe - Slight slip of the keyboard there but in some respects relevant ;-) However, I meant "comments are welcome".
I'm not sure, but maybe a simple: #undef _UNICODE #undef UNICODE at the top of ldap.c should work. Otherwise things like 'struct hostname::name' in urldata.h should be turned into 'TCHAR*'. I hope that doesn't happen. So with the above #undef, this: server = ldap_init(conn->host.name, (int)conn->port); is really the ASCII version: server = ldap_initA(conn->host.name, (int)conn->port); --gv ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html