I am trying to write a C++ program using the Native WiFi API as
described at
http://msdn.microsoft.com/en-us/library/windows/desktop/ms706274%28v=vs.85%29.aspx
I installed Visual Studio 2012 Express, and I am using the wlanapi.h
header that came with it and linking with the wlanapi.lib likewise.
Compile and link goes fine but when I try to run it on Windows 7 I
get a message box displayed with the message
"The procedure entry point WFDCloseHandle could not be
located in the dynamic link library wlanapi.dll."
The wlanapi.dll apparently came as part of windows 7. I can post
example code, but I do not think it is a problem in my code as the
same thing happens whether or not I include the call to
WFDCloseHandle. I can't believe that basic fundamental entry point
has been eliminated. So, what gives? How can I fix this?