[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldap_set_option crash



If I run the code below the application crashes with access violation.

int version = LDAP_VERSION3;
ldap_set_option(ldap, LDAP_OPT_PROTOCOL_VERSION, &version);

What can be the problem?