Re: wlanapi.h :cannot compile



I've spent hours trying to get this working.

I want to compile the AutoConfig sample for wlan that comes with Vista
SDK in VS2005 on WinXP SP2.

But I can't find wlanapi.h or wlanapi.lib anywhere. It doesn't get
installed on any of the links you've posted, I've installed all of them
and these two files do not exist on my system.

Anyone at Microsoft... Please help.

Thanks,
John

Pavel A. wrote:
"Voidkeeper" <voidkeeper@xxxxxxxxxxxxxxxx> wrote in message news:FBAC6182-24BF-417B-934D-EA05FE2B73CF@xxxxxxxxxxxxxxxx
Maybe I'm too stupid for this one:
I installed the WLANAPI hotfix for XP-SP2 and the headers and libraries from
the vista platform sdk on my xp-sp2 machine.
I created a empty project, which just includes wlanapi.h . If i compile, it
gives me bunches of errors!
What do I need in addition to this?
Does it work only in VisualStudio2005 (I'm using 2003)?
Is there a xp-sp2 SDK instead of the vista one?
Do I have to include other headers too?


Yes it compiles with VC 2005 on WinXP.

If your project is wizard created, remove from stdafx.h
definition of WIN32_LEAN_AND_MEAN - it conflicts with wlanapi.

--PA

.



Relevant Pages

  • Re: Wireless in c++
    ... The Vista SDK is no longer working with VC 6. ... some parts of it can still compile with VC6... ... Note that the SDK contains it's own compiler, you can use it instead of VC2005. ... This SDK is designed for use with Windows Vista (which includes Framework ...
    (microsoft.public.win32.programmer.networks)
  • Re: EVC3, EVC4 or VStudio 2005?
    ... the SDK is a bad fix, as anyone who wants to use the project has to modify ... project - that should compile fine - then diff the two project files and see ... In the PocketPC2003 SDK that is in VS2005 there is a C++ header file ... Looking at the WM5 SDK, in the same header file "vector", this file is ...
    (microsoft.public.pocketpc.developer)
  • Re: Unsupported Functions and Objects w/ new SDKs from Visual Stud
    ... use VS2005 to continue to support existing applications for older platforms. ... solution properties to use paths to the right SDK, ... should compile in the newer one using the same SDK. ... > You must have created a C++ MFC Desktop app. ...
    (microsoft.public.pocketpc.developer)
  • Re: VSS SDK writer impossible to compile
    ... Whereas, if I disassemble vssapi.dll on Win2K3, the same portion looks as ... Can anyone tell me what I might do to fix this? ... the VSS SDK Version 7.2 which seems to be the correct download from MSDN ... I can happily compile the testwriter sample from the Vista ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Strange compilation error on Visual Studio 2005 and CE custom SDK
    ... It is a PB5 Platform that works fine with eMbedded Visual C++ 4sp4, and SDK is built with PB5 in same Workspace than OS that runs on device. ... Upgrade our library project form evc to vs2005 does not work, and upgrading any app does not work too. ... Now I'm capable to compile our library with a lot of hacks into headers, ... BUt form now I cannot compile any app, I'm doing a lot of changes in stdafx and other headers in order to get compiling it. ...
    (microsoft.public.windowsce.platbuilder)

Loading