#### Archived

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

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

## 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 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>

HTH

1. 1
Rutin
46
2. 2
3. 3
4. 4
5. 5

• 13
• 10
• 12
• 10
• 13
• ### Forum Statistics

• Total Topics
632996
• Total Posts
3009776
• ### Who's Online (See full list)

There are no registered users currently online

×

## Important Information

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!