资源简介
USB HID上位机源代码 用的是MFC,C++写的,源码非常清晰

代码片段和文件信息
// MyUsbHidTestApp.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “MyUsbHidTestApp.h“
#include “MyUsbHidTestAppDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMyUsbHidTestAppApp
BEGIN_MESSAGE_MAP(CMyUsbHidTestAppApp CWinApp)
//{{AFX_MSG_MAP(CMyUsbHidTestAppApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CMyUsbHidTestAppApp construction
CMyUsbHidTestAppApp::CMyUsbHidTestAppApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CMyUsbHidTestAppApp object
CMyUsbHidTestAppApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CMyUsbHidTestAppApp initialization
BOOL CMyUsbHidTestAppApp::InitInstance()
{
AfxEnableControlContainer();
// 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.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CMyUsbHidTestAppDlg dlg;
m_pMainWnd = &dlg;
int 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
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3884032 2014-08-03 19:54 MyUsbHidTestApp_jeffasd\Debug\MyUsbHidTestApp.bsc
文件 2162785 2014-08-03 19:54 MyUsbHidTestApp_jeffasd\Debug\MyUsbHidTestApp.exe
文件 2530596 2014-08-03 19:54 MyUsbHidTestApp_jeffasd\Debug\MyUsbHidTestApp.ilk
文件 15289 2014-08-03 19:39 MyUsbHidTestApp_jeffasd\Debug\MyUsbHidTestApp.obj
文件 6895664 2014-08-03 19:39 MyUsbHidTestApp_jeffasd\Debug\MyUsbHidTestApp.pch
文件 4162560 2014-08-03 19:54 MyUsbHidTestApp_jeffasd\Debug\MyUsbHidTestApp.pdb
文件 18432 2014-08-03 19:39 MyUsbHidTestApp_jeffasd\Debug\MyUsbHidTestApp.res
文件 0 2014-08-03 19:39 MyUsbHidTestApp_jeffasd\Debug\MyUsbHidTestApp.sbr
文件 88031 2014-08-03 19:54 MyUsbHidTestApp_jeffasd\Debug\MyUsbHidTestAppDlg.obj
文件 0 2014-08-03 19:54 MyUsbHidTestApp_jeffasd\Debug\MyUsbHidTestAppDlg.sbr
文件 106881 2014-08-03 19:39 MyUsbHidTestApp_jeffasd\Debug\StdAfx.obj
文件 1377721 2014-08-03 19:39 MyUsbHidTestApp_jeffasd\Debug\StdAfx.sbr
文件 214016 2014-08-03 22:05 MyUsbHidTestApp_jeffasd\Debug\vc60.idb
文件 380928 2014-08-03 19:54 MyUsbHidTestApp_jeffasd\Debug\vc60.pdb
文件 12384 2001-08-17 12:39 MyUsbHidTestApp_jeffasd\hid.lib
文件 80543 2001-08-17 14:12 MyUsbHidTestApp_jeffasd\hidpi.h
文件 14555 2001-08-17 14:12 MyUsbHidTestApp_jeffasd\hidsdi.h
文件 11028 2001-08-17 14:12 MyUsbHidTestApp_jeffasd\hidusage.h
文件 49020 2014-08-03 16:47 MyUsbHidTestApp_jeffasd\MyUsbHidTestApp.aps
文件 3068 2014-08-03 22:07 MyUsbHidTestApp_jeffasd\MyUsbHidTestApp.clw
文件 2191 2014-08-03 16:27 MyUsbHidTestApp_jeffasd\MyUsbHidTestApp.cpp
文件 5342 2014-08-03 15:18 MyUsbHidTestApp_jeffasd\MyUsbHidTestApp.dsp
文件 555 2008-08-25 18:59 MyUsbHidTestApp_jeffasd\MyUsbHidTestApp.dsw
文件 1423 2008-07-23 01:40 MyUsbHidTestApp_jeffasd\MyUsbHidTestApp.h
文件 82944 2014-08-03 22:07 MyUsbHidTestApp_jeffasd\MyUsbHidTestApp.ncb
文件 81920 2014-08-03 22:07 MyUsbHidTestApp_jeffasd\MyUsbHidTestApp.opt
文件 1439 2014-08-03 19:54 MyUsbHidTestApp_jeffasd\MyUsbHidTestApp.plg
文件 9225 2014-08-03 16:47 MyUsbHidTestApp_jeffasd\MyUsbHidTestApp.rc
文件 39283 2014-08-03 19:54 MyUsbHidTestApp_jeffasd\MyUsbHidTestAppDlg.cpp
文件 2299 2014-08-03 16:51 MyUsbHidTestApp_jeffasd\MyUsbHidTestAppDlg.h
............此处省略37个文件信息
- 上一篇:Visual_C++_开发的即时通讯系统
- 下一篇:用MFC制作一个截屏小工具
相关资源
- QT上位机
- QT实现USB摄像头拍照
- usb键盘(MyUSB_HID_KEIL)
- usb之CDC(CDC_Standalone.rar)
- Linux那些事儿之我是USB core
- USB CAN Tool 源代码(LabVIEW 2011环境)
- VC6 USB开发源码
- stm32f103 USB键盘
- qt上位机采集51单片机温湿度数据
- c++监控USB插拔状态源码
- NFC_上位机
- USB识别 HID识别 MFC代码
- USB 完整bootloader项目,包括底层驱动和
- USB2.0接口数据采集卡
- 基于VC MFC的数据分析系统
- VC++6.0 MFC串口编程上位机程序代码.
- 基于C++的虚拟串口通讯
- USB双向通信上位机VC++程序
- hid usb 编程源码
- 简易的心电采集电路,包括下位机编
- 串口读写上位机例程
- 用C语言实现PLC和上位机的串行通信
- LPC1768IAP+MFC上位机+bootloader+app
- 基于CY7C68013A的USB2.0详细开发文档
- VC++上位机API编程转
- USB视频设备采集图像VisualC++程序
- 基于C++的USB的数据传输的上位机程序
- vc上位机详解
- C++Builder 串口通信调试
- 真正的usbview源代码
评论
共有 条评论