Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Link error while using ADSI (Active Directory Service Interfaces)

This topic is 5805 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

greetings. i have a problem. i am trying to get familiarized with ADSI and i can''t seem to get anywhere coz i got the following message when i try to link: error LNK2001: unresolved external symbol _IID_IADsContainer :/ my includes are: #include <windows.h> #include <iads.h> #include <adshlp.h> #include <stdio.h> #include <commctrl.h> and i use vc++ 6.0 SP5 help?

Share this post

Link to post
Share on other sites
You''re not linking with some library. I have no idea about ADSI, but if you get this error in DirectX, you can either link with guids.lib (i think), or - and this might work - #define INITGUID before including any headers. E.g.:

#define INITGUID

#include <windows.h>

#include <iads.h>

#include <adshlp.h>

#include <stdio.h>

#include <commctrl.h>


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!