I'm utilizing WINLDAP.H, WDLAP32.LIB and WLDAP32.DLL in a C++ application
and I'm getting errors like:
"winldap.obj : error LNK2001: unresolved external symbol _ldap_init@8".

The WINLDAP.H file prototypes all the functions I'm using and declares the
above function as:
"__declspec(dllimport) LDAP * __cdecl ldap_init(PWCHAR HostName,ULONG PortNumber
);"

I can't figure out how to solve the errors. Can someone please help.

I appreciate your expert help in advance.
Ronald