资源简介
该软件采用多线程方式实现了周围无线网络扫描的功能,对应用WIFI进行室内导航,具有非常重要的意义
软件实时获取WIFI网络的相关参数:
1.网络MAC地址;
2.信号强度SSID;
3.以及WIFI网络显示名称。
最后将相应信息在ListCtrl控件中显示出来。
代码片段和文件信息
// IndoorNavi.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “IndoorNavi.h“
#include “IndoorNaviDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CIndoorNaviApp
BEGIN_MESSAGE_MAP(CIndoorNaviApp CWinApp)
ON_COMMAND(ID_HELP &CWinApp::onhelp)
END_MESSAGE_MAP()
// CIndoorNaviApp construction
CIndoorNaviApp::CIndoorNaviApp()
{
// support Restart Manager
m_dwRestartManagerSupportFlags = AFX_RESTART_MANAGER_SUPPORT_RESTART;
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
// The one and only CIndoorNaviApp object
CIndoorNaviApp theApp;
// CIndoorNaviApp initialization
BOOL CIndoorNaviApp::InitInstance()
{
// InitCommonControlsEx() is required on Windows XP if an application
// manifest specifies use of ComCtl32.dll version 6 or later to enable
// visual styles. Otherwise any window creation will fail.
INITCOMMONCONTROLSEX InitCtrls;
InitCtrls.dwSize = sizeof(InitCtrls);
// Set this to include all the common control classes you want to use
// in your application.
InitCtrls.dwICC = ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinApp::InitInstance();
AfxEnableControlContainer();
// Create the shell manager in case the dialog contains
// any shell tree view or shell list view controls.
CShellManager *pShellManager = new CShellManager;
// Activate “Windows Native“ visual manager for enabling themes in MFC controls
CMFCVisualManager::SetDefaultManager(RUNTIME_CLASS(CMFCVisualManagerWindows));
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need
// Change the registry key under which our settings are stored
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));
CIndoorNaviDlg dlg;
m_pMainWnd = &dlg;
INT_PTR nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
else if (nResponse == -1)
{
TRACE(traceAppMsg 0 “Warning: dialog creation failed so application is terminating unexpectedly.\n“);
TRACE(traceAppMsg 0 “Warning: if you are using MFC controls on the dialog you cannot #define _AFX_NO_MFC_CONTROLS_IN_DIALOGS.\n“);
}
// Delete the shell manager created above.
if (pShellManager != NULL)
{
delete pShellManager;
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 114272 2013-04-16 14:44 WIFIScan\IndoorNavi.aps
文件 2967 2013-04-06 20:17 WIFIScan\IndoorNavi.cpp
文件 529 2013-04-06 20:16 WIFIScan\IndoorNavi.h
文件 24200 2013-04-16 14:44 WIFIScan\IndoorNavi.rc
文件 886 2013-04-05 18:06 WIFIScan\IndoorNavi.sln
..A..H. 80384 2013-04-16 14:46 WIFIScan\IndoorNavi.v11.suo
文件 6245 2013-04-16 14:28 WIFIScan\IndoorNavi.vcxproj
文件 2299 2013-04-16 14:28 WIFIScan\IndoorNavi.vcxproj.filters
文件 12865 2013-04-16 14:44 WIFIScan\IndoorNaviDlg.cpp
文件 1453 2013-04-16 14:35 WIFIScan\IndoorNaviDlg.h
文件 4491 2013-04-05 18:06 WIFIScan\ReadMe.txt
文件 67777 2012-01-11 00:22 WIFIScan\res\IndoorNavi.ico
文件 804 2013-04-05 18:06 WIFIScan\res\IndoorNavi.rc2
文件 4148 2013-04-15 12:26 WIFIScan\resource.h
文件 212 2013-04-05 18:06 WIFIScan\stdafx.cpp
文件 1753 2013-04-05 18:06 WIFIScan\stdafx.h
文件 314 2013-04-05 18:06 WIFIScan\targetver.h
文件 9529 2013-04-12 23:52 WIFIScan\WifiScan - Copy.cpp
文件 11415 2013-04-16 14:31 WIFIScan\WifiScan.cpp
文件 2150 2013-04-16 14:33 WIFIScan\WifiScan.h
文件 9345536 2013-04-16 14:46 IndoorNavi.exe
目录 0 2013-04-16 14:16 WIFIScan\res
目录 0 2013-04-16 14:47 WIFIScan
----------- --------- ---------- ----- ----
9694229 23
相关资源
- RTL8188EVT USB WIFI无线网卡驱动 免费版
- RTL8188 USB无线网卡模块完整方案
-
li
nksys AE1000/Cisco AM10无线网卡驱动 - 联想ThinkPade470无线网驱动
- 戴尔d630无线网卡驱动 v1.3.2 官方最新
- 卡皇RTL8187芯片网卡驱动 Win7 x86x64官方
- IBM ThinkPad T42无线网卡驱动
- IBM ThinkPad T30笔记本无线网卡驱动程序
- 基于ZigBee技术的智能家居无线网络系
- 基于ZigBee无线网络的气体监测报警系
- 基于无线网络的远程电力抄表系统的
- 基于Zigbee技术的家用无线网络平台设
- 华硕ASUS K42JZ无线网卡驱动程序 v9.0.
- 华硕PCE-AC66无线网卡驱动 v6.30.77.0 fo
- 华硕PCE-AC66无线网卡驱动 v6.30.95.19 f
- 华硕PCE-AC66无线网卡驱动 v6.30.95.26 f
- 无线网卡Rtl8188EUS驱动文件
- rtl8191s 802.11n 150m/300mbps无线网卡驱动程
- [黑客大曝光:无线网络安全].Joshua.
- 免费激活华为E1750无线网卡语音功能
- 360免费WIFI(适用于任意无线网卡)
- Netgear网件WG311V3网卡驱动 v3.1 官方版
- 网件WPN111 USB无线网卡驱动 v3.0 官方最
- 工业无线网络WIA—PA终端节点设计
- 12 萨基姆 SAGEM WL5061S 54M USB 无线网卡
- 无线网络优化\\中国移动网优入门与提
- Atheros EEPROM Tool
- 无线网络安全攻防实战进阶
- ASUS华硕WL-167g无线网卡驱动
- DWM1000中文版数据手册
评论
共有 条评论