>Status update: looks as if the LDAP API is not available since it uses structures. E.g. LDAP_INIT should return a pointer to a structure, but in VFP it returns .T.
>
>
DECLARE ldap_init IN wldap32.dll string cAD,integer iPort
>? ldap_init("MyActiveDomain",389)
John, shouldn't it be
DECLARE LONG ldap_init IN wldap32.dll string cAD,integer iPort
? ldap_init("MyActiveDomain",389)
then?
----------------------------------
António Tavares Lopes