compile with wlanapi.h



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

  • Re: COleDropTarget not working in Vista
    ... I did try "Run as Administrator" in Vista but to no avail, ... I do not have the Windows SDK for Vista on my Windows XP SP2 system ... Windows SDK for Vista on a Vista test system and I recompiled my application ...
    (microsoft.public.vc.mfc)
  • What Does It Take to Get a PC With XP?
    ... I won't waste time rehashing the argument over whether Windows Vista ... that virtually every copy of Vista Business or Vista Ultimate Edition ... machines doesn't mean that its employees understand that policy. ...
    (misc.consumers)
  • Re: List of Applications Not Compatible with Leopard
    ... If there is an equal on Windows I truly would love to know about ... program on the Plasq frontpage was clearly taken on Vista. ... the product is on both Windows and Mac. ... hardware than Vista works on PC hardware is hardly "silly". ...
    (comp.sys.mac.advocacy)
  • Re: OS/2 mentioned in a Vista review
    ... You can also install it in a classic way in 2K (and XP, and 2003 and Vista) by ... That may be a good basis of comparison for you, but to someone who is already displeased with the previous standard of operation of Windows, what should that mean? ... It can be done on XP or OS/2, ... Consider: full-screen apps. ...
    (comp.os.os2.misc)
  • Re: I cant install critical updates
    ... I resolved error message problem from Vista Security Center by uninstalling and reinstalling Antivir. ... How it comes I can't either manage to install manually failing updates? ... Be sure to obtain the correct version for Windows x86. ... Windows Update Agent File Versions: ...
    (microsoft.public.windowsupdate)