Problem with iads.h

I'm using some ADSI functions and I need the iads.h header file.
When compiling, I always get the error

c:\program files\microsoft visual studio\vc98\include\iads.h(26) : error
C2146: syntax error : missing ';' before identifier 'IADs'

on the "typedef" line in the following block:

#ifndef __IADs_FWD_DEFINED__
#define __IADs_FWD_DEFINED__
typedef interface IADs IADs;
#endif /* __IADs_FWD_DEFINED__ */

Since this header file comes with Visual Studio, it should be correct.

I whish to know if, in fact, that file have errors and where can I get a
correct version or, if it is correct, what might be happening with my application.

Thanks!

Nuno Sarandes (sarandesn2getronics.com)
[789 byte] By [Nuno Sarandes] at [2007-11-17 14:26:45]

Windows Central New Topic

Windows Central Hot Topic