Re: compile with wlanapi.h

Tech-Archive recommends: Fix windows errors by optimizing your registry



You have to register PSDK directories with VS
Arkady

"Frank Young" <shyzq@xxxxxxx> wrote in message
news:OaU7mD1mHHA.4288@xxxxxxxxxxxxxxxxxxxxxxx
I was trying to complie the sample AutoConfig of Windows SDK for Vista.
I have a Windows Vista system(X86) with Visual Studio 2005 and Windows
SDK for Vista installed. It seems enough to complie the sample. But I
have received a lot of mistakes. Can anyone help?

The error messages are such as:
i:\microsoft sdks\windows\v6.0\include\l2cmn.h(86) : error C2061: syntax
error : identifier 'dwDataSize'
i:\microsoft sdks\windows\v6.0\include\l2cmn.h(86) : error C2146: syntax
error : missing ';' before identifier 'PVOID'
i:\microsoft sdks\windows\v6.0\include\ifdef.h(153) : error C2146: syntax
error : missing ';' before identifier 'NET_IFTYPE'
i:\microsoft sdks\windows\v6.0\include\ifdef.h(153) : fatal error C1004:
unexpected end of file found

Do I missed something needed to install?

Thank you
Frank





.



Relevant Pages