Does anyone know what I need to include to get the winldap class to work?
I have been trying microsoft examples using these includes:
<code>
[blue]
#include <windows.h>
#include <winldap.h>
#include <stdio.h>
[/blue]
</code>
However, I am returning linker errors because the functions are defined.
What am I missing?
Thanks,
Ron
cout << "If you don't know where you want to go, we'll make sure you get taken";
I have been trying microsoft examples using these includes:
<code>
[blue]
#include <windows.h>
#include <winldap.h>
#include <stdio.h>
[/blue]
</code>
However, I am returning linker errors because the functions are defined.
Code:
[red]
main.obj : error LNK2001: unresolved external symbol __imp__ldap_unbind
main.obj : error LNK2001: unresolved external symbol __imp__ldap_bind_s
main.obj : error LNK2001: unresolved external symbol __imp__ldap_connect
main.obj : error LNK2001: unresolved external symbol __imp__ldap_set_option
main.obj : error LNK2001: unresolved external symbol __imp__ldap_init
[/red]
What am I missing?
Thanks,
Ron
cout << "If you don't know where you want to go, we'll make sure you get taken";