如何获得wlanapi.lib(.h)和ole32.lib(.h) [英] how to get wlanapi.lib(.h) and ole32.lib(.h)
问题描述
我有一个在Windows XP(Service Pack 3)上运行的应用程序,内置在Visual Studio 6.0中。
I have an application running on Windows XP (Service Pack 3), built in Visual Studio 6.0.
在此应用程序中,需要扫描所有无线局域网卡都可用。
In this, application there is a requirement to scan all the wireless LAN cards available.
现在可以使用WlanOpenHandle和WlanEnumInterfaces来获取信息。
Now WlanOpenHandle and WlanEnumInterfaces can be used to get the information.
尝试包含 wlnapi时.h,它给出了编译错误。 - 无法打开包含文件:'wlanapi.h'
When trying to include wlnapi.h, it gives compilation error. - Cannot open include file: 'wlanapi.h'
但是根据文档,可以使用Windows,Windows,Windows和带SP3的XP。
But according to the documentation, there are availabl for Windows Vista, Windows XP with SP3.
该应用程序是 build 使用VS 6.0
The application is build usning VS 6.0
推荐答案
您可以搜索系统上是否存在此文件。然后在include path中添加完整路径,例如:C:/ Windows / System32 ....
You can search if this file exists on your system. And then in include path add the complete path eg: C:/Windows/System32....
这篇关于如何获得wlanapi.lib(.h)和ole32.lib(.h)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!