I am trying to call an LDAP function from the WLDAP32 dll (which I cannot add a reference to since its umanaged code). Can someone tell me how to do this. I think I have to match the parameters to an equivalent in C# here is what the C++ function looks like:
__in LDAP* ld,
__in PCHAR dn,
__in PCHAR passwd
So how can I use the dll to call this function and use it in my C# application??
Open in new window