Working with ADSI

I'm trying to make my first program using ADSI and I'm having some troubles.

What I'm doing is:

* declaring the headers iads.h, adsiid.h and adshlp.h;

* declaring the variable IADsUser *users;

When I compile, an error occurs in the variable declaration, saying that a ";" is missing before "*users".

I'm not understanding this, since all the examples I've saw have those lines. I would need some help, please.


Nuno Sarandes (


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!