资源简介
ARINC429的资料,内含天津英贝特HT6302板卡的说明书及应用程序Demo源码,还有一篇《ARINC-429-tutorial.pdf》,非常适合429总线入门。
代码片段和文件信息
//*************************************************************************
// BCMenu.cpp : implementation file
// Version : 3.02
// Date : March 2002
// Author : Brent Corkum
// Email : corkum@rocscience.com
// Latest Version : http://www.rocscience.com/~corkum/BCMenu.html
//
// Bug Fixes and portions of code supplied by:
//
// Ben AshleyGirish BharadwajJean-Edouard Lachand-Robert
// Robert Edward CaldecottKenny GoersLeonardo Zide
// Stefan KuhrReiner JungMartin VladicKim Yoo Chul
// Oz SolomonovichTongzhe CuiStephane ClogWarren Stevens
// Damir ValiulinDavid KinderMarc Loiry
//
// You are free to use/modify this code but leave this header intact.
// This class is public domain so you are free to use it any of
// your applications (FreewareSharewareCommercial). All I ask is
// that you let me know so that if you have a real winner I can
// brag to my buddies that some of my code is in your app. I also
// wouldn‘t mind if you sent me a copy of your application since I
// like to play with new stuff.
//*************************************************************************
#include “stdafx.h“ // Standard windows header file
#include “BCMenu.h“ // BCMenu class declaration
#include //SK: makes A2W and other spiffy AFX macros work
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#define BCMENU_GAP 1
#ifndef OBM_CHECK
#define OBM_CHECK 32760 // from winuser.h
#endif
#if _MFC_VER <0x400
#error This code does not work on Versions of MFC prior to 4.0
#endif
static CPINFO CPInfo;
// how the menu‘s are drawn in win9x/NT/2000
UINT BCMenu::original_drawmode=BCMENU_DRAWMODE_ORIGINAL;
BOOL BCMenu::original_select_disabled=TRUE;
// how the menu‘s are drawn in winXP
UINT BCMenu::xp_drawmode=BCMENU_DRAWMODE_XP;
BOOL BCMenu::xp_select_disabled=FALSE;
BOOL BCMenu::xp_draw_3D_bitmaps=TRUE;
CImageList BCMenu::m_AllImages;
CArray BCMenu::m_AllImagesID;
enum Win32Type{
Win32s
WinNT3
Win95
Win98
WinME
WinNT4
Win2000
WinXP
};
Win32Type IsShellType()
{
Win32Type ShellType;
DWORD winVer;
OSVERSIONINFO *osvi;
winVer=GetVersion();
if(winVer<0x80000000){/*NT */
ShellType=WinNT3;
osvi= (OSVERSIONINFO *)malloc(sizeof(OSVERSIONINFO));
if (osvi!=NULL){
memset(osvi0sizeof(OSVERSIONINFO));
osvi->dwOSVersionInfoSize=sizeof(OSVERSIONINFO);
GetVersionEx(osvi);
if(osvi->dwMajorVersion==4L)ShellType=WinNT4;
else if(osvi->dwMajorVersion==5L&&osvi->dwMinorVersion==0L)ShellType=Win2000;
else if(osvi->dwMajorVersion==5L&&osvi->dwMinorVersion==1L)ShellType=WinXP;
free(osvi);
}
}
else if (LOBYTE(LOWORD(winVer))<4)
ShellType=Win32s;
else{
ShellType=Win95;
osvi= (OSVERSIONINFO *)malloc(sizeof(OSVERSIONINFO));
if (osvi!=NULL){
memset(osvi0sizeof(OSVERSIONINFO));
osvi->dwOSVersionInfoSize=sizeof(OSVERSIONINFO);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 545212 2011-05-23 10:22 ARINC-429-tutorial.pdf
文件 830435 2014-01-09 14:56 HT-6302手册.pdf
目录 0 2014-01-11 19:41 HT-6302程序\
文件 88816 2002-03-31 12:20 HT-6302程序\BCMenu.cpp
文件 16478 2002-03-31 12:20 HT-6302程序\BCMenu.h
文件 52061 2002-04-17 18:34 HT-6302程序\BtnST.cpp
文件 8392 2002-04-18 10:14 HT-6302程序\BtnST.h
文件 6420 2007-03-26 10:55 HT-6302程序\commandbutton.cpp
文件 2817 2007-03-26 10:55 HT-6302程序\commandbutton.h
文件 10122 2007-03-26 10:55 HT-6302程序\control.cpp
文件 2922 2007-03-26 10:55 HT-6302程序\control.h
文件 3337 2007-03-26 10:55 HT-6302程序\controls.cpp
文件 1679 2007-03-26 10:55 HT-6302程序\controls.h
文件 13463 2007-03-27 15:47 HT-6302程序\CoolTabCtrl.cpp
文件 3220 2001-09-30 19:25 HT-6302程序\CoolTabCtrl.h
文件 64 2014-01-09 14:46 HT-6302程序\CPCI_429.ldb
文件 262144 2007-06-18 09:01 HT-6302程序\CPCI_429.mdb
文件 1227256 2014-01-11 09:20 HT-6302程序\CPCI_429_Demo.aps
文件 79 2007-08-30 16:42 HT-6302程序\CPCI_429_Demo.bbs
文件 9645 2007-08-14 16:32 HT-6302程序\CPCI_429_Demo.cpp
文件 12655 2007-08-28 14:20 HT-6302程序\CPCI_429_Demo.dsp
文件 683 2007-03-29 14:36 HT-6302程序\CPCI_429_Demo.dsw
文件 1720320 2009-04-27 11:36 HT-6302程序\CPCI_429_Demo.exe
文件 1586 2007-04-09 10:58 HT-6302程序\CPCI_429_Demo.h
文件 951296 2014-01-11 09:20 HT-6302程序\CPCI_429_Demo.ncb
文件 50688 2014-01-11 09:20 HT-6302程序\CPCI_429_Demo.opt
文件 7290 2014-01-09 14:36 HT-6302程序\CPCI_429_Demo.plg
文件 25122 2007-08-16 20:34 HT-6302程序\CPCI_429_Demo.rc
文件 1882 2007-03-19 09:37 HT-6302程序\CPCI_429_DemoDoc.cpp
文件 1552 2007-03-19 09:37 HT-6302程序\CPCI_429_DemoDoc.h
文件 2792 2007-03-28 09:15 HT-6302程序\CPCI_429_DemoView.cpp
............此处省略112个文件信息
- 上一篇:FDTD Solutions 在微纳光学器件设计中的应用
- 下一篇:3d打印机固件
相关资源
- 野火429核心板PCB图
- stm32f429核心板PCB
- STM32F429 库函数手册
- CDlinux-0.9.6.1-SSE-0429
- stmf429开发板基础例程序
- STM32F429驱动迪文串口屏程序
- STM32F427 ,429中文参考手册
- 基于STM32F429的语音识别交互系统
- USART6_DMA_NVIC.zip
- stm32F429的ADC采样的傅里叶变换
- 野火STM32F4开发板适配TouchGFX
- Polygon Mesh Processing164297
- 最新手机号段归属地数据库(2019年
- 基于HAL库的ADC+DMA程序——STM32F429
- EmWin计算器_使用栈_带括号_适用于安富
-
zw_baidu_38396237-10813429-weibodataba
se.zi - STM32F429智能家居
- STM32F401 STM32F411 STM32F429官方例程
- HAL库stm32F429IGADC DMA
- freemodbus1.5移植modbusRTU到stm32f429igt6
- 正点原子stm32f429 cubemx sdram工程
- CAN UDS 诊断 14429 15765
- STM32F429标准库串口2通信例程程
- STM32F429标准库串口通信历程
- 零死角玩转STM32—F429.pdf
- STM32F429 双LCD屏 正点原子阿波罗开发板
- 2019最新千月影视双端App源码 20190429运
- STM32F429开发指南HAL库版本.pdf
- 正点原子STM32F429 FreeRTOS+emWin+FATFS综合
- 嵌入式系统/ARM技术中的ARINC429总线收
评论
共有 条评论