我看过微软记录的这个例子,但是我不能让它在visual studio 2012的控制台项目下工作。我得到的错误是:
Error 1 error LNK2019: unresolved external symbol __imp__ldap_openW referenced in function "int __cdecl GetChangeNotifications(wchar_t *)" (?GetChangeNotifications@@YAHPA_W@Z) C:\projects\AD_Notification