Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   IEnumVariant? Benötigt für ADSI (https://www.delphipraxis.net/114934-ienumvariant-benoetigt-fuer-adsi.html)

siles 3. Jun 2008 07:38


IEnumVariant? Benötigt für ADSI
 
Hallo
Ich möchte mit meinem Programm das Activedirectory durchsuchen. Dafür versuche ich mich gerade an einem ADSI Tutorial.

Delphi-Quellcode:
var
 x : IADsContainer;
 e : IEnumVariant;
 hr, i : integer;
 varArr : OleVariant;
 lNumElements : ULONG;
 item : IADs;
Leider kennt er IENumVariant nicht. Ich habe alle Dateien wie adshlp, adstlb und adderr hinzugefügt, aber auch bei Google finde ich nicht heraus wo/wie/was IENumVariante ist bzw. wo ich dies beziehen kann.

spaxxn 3. Jun 2008 07:40

Re: IEnumVariant? Benötigt für ADSI
 
Units ComObj,ActiveX

siles 3. Jun 2008 07:41

Re: IEnumVariant? Benötigt für ADSI
 
Zitat:

Zitat von spaxxn
Units ComObj,ActiveX

Herzlichen Dank.

Der.Kaktus 3. Jun 2008 07:42

Re: IEnumVariant? Benötigt für ADSI
 
Hallo,

haeng mal die Unit ActiveX und ComObj mit rein..dann sollte es klappen;

[Edit] war wer schneller *g* [/Edit]


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:03 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz