BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

C++Builder5, MS Platform SDK, IID_IADsPropertyEntry

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Compatibility with MFC)
View previous topic :: View next topic  
Author Message
JRB
Guest





PostPosted: Tue Oct 24, 2006 6:06 am    Post subject: C++Builder5, MS Platform SDK, IID_IADsPropertyEntry Reply with quote



I'm new to the Borland groups, if this is not the most appropriate
group, please advise.

I'm writing programs to access AD using the latest MS Platform SDK and
C++ Builder 5.0 update pack 1. While most of my code is working just
fine, I've encountered an issue with the IADsPropertyxxxx interface
which I need to use to get all attributes for an object. I get a linker
error (unresolved external) on IID_IADsPropertyEntry whereas
IID_IADsPropertyList resolves correctly. Both are defined as "extern
const GUID" in adsiid.h and I assume should be resolved by the linker
via the registry where both are defined.

Anyone encountered this issue? I'm stumped as to why one is resolving
and one is not.

TIA, John
Back to top
JRB
Guest





PostPosted: Tue Dec 12, 2006 2:46 am    Post subject: Re: C++Builder5, MS Platform SDK, IID_IADsPropertyEntry Reply with quote



I finally got back to this after being sidetracked on other things. My
issue seems to be that I need adsiid.lib which is not included with
V5.0. Activeds.lib wasn't either but I was able to build that from
activeds.dll.

Can anyone point me to a copy of adsiid.lib in Borland library format?
Is it possible to convert adsi.lib from the MS Platform SDK to Borland
format?

TIA, John


JRB wrote:
Quote:
I'm new to the Borland groups, if this is not the most appropriate
group, please advise.

I'm writing programs to access AD using the latest MS Platform SDK and
C++ Builder 5.0 update pack 1. While most of my code is working just
fine, I've encountered an issue with the IADsPropertyxxxx interface
which I need to use to get all attributes for an object. I get a linker
error (unresolved external) on IID_IADsPropertyEntry whereas
IID_IADsPropertyList resolves correctly. Both are defined as "extern
const GUID" in adsiid.h and I assume should be resolved by the linker
via the registry where both are defined.

Anyone encountered this issue? I'm stumped as to why one is resolving
and one is not.

TIA, John
Back to top
Darko Miletic
Guest





PostPosted: Tue Dec 12, 2006 4:06 am    Post subject: Re: C++Builder5, MS Platform SDK, IID_IADsPropertyEntry Reply with quote



JRB wrote:
Quote:
I finally got back to this after being sidetracked on other things. My
issue seems to be that I need adsiid.lib which is not included with
V5.0. Activeds.lib wasn't either but I was able to build that from
activeds.dll.

Can anyone point me to a copy of adsiid.lib in Borland library format?

That library and others can be found as part of bccSDK distribution.
Take a look at http://bccsdk.sf.net/
Back to top
JRB
Guest





PostPosted: Tue Dec 12, 2006 6:57 am    Post subject: Re: C++Builder5, MS Platform SDK, IID_IADsPropertyEntry Reply with quote

Darko Miletic wrote:
Quote:
JRB wrote:
I finally got back to this after being sidetracked on other things. My
issue seems to be that I need adsiid.lib which is not included with
V5.0. Activeds.lib wasn't either but I was able to build that from
activeds.dll.

Can anyone point me to a copy of adsiid.lib in Borland library format?

That library and others can be found as part of bccSDK distribution.
Take a look at http://bccsdk.sf.net/

Brilliant - thanks.

John
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Compatibility with MFC) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.