wince6
文章平均质量分 50
heiyuu1
这个作者很懒,什么都没留下…
展开
-
wince----settimer 和 ontimer 的使用
settimer ontimer 主要是定时器 和定时器的响应想要使用两个函数第一步:注册函数 和 事件触发 设置afx_msg void CDeskTopDlg::OnTimer(UINT_PTR nIDEvent) ;//注册函数 #if defined(_DEVICE_RESOLUTION_AWARE) && !defined(WIN32_PL转载 2012-03-19 22:12:50 · 1508 阅读 · 0 评论 -
wince6添加ftp和telnet的方法,并且实现无验证登陆
1.bsp添加FTP Server,Telnet Server2.TELNET FTP ,platform.reg添加;-----------------后来添加[HKEY_LOCAL_MACHINE\Comm\TELNETD]"IsEnabled"=dword:1[HKEY_LOCAL_MACHINE\Comm\TELNETD]"UseAuthe原创 2012-07-18 15:07:16 · 671 阅读 · 0 评论 -
wince6 2416 修改nandflash的名称
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDisk] "DefaultFileSystem"="FATFS" "PartitionDriver"="mspart.dll" "Name"="PocketMory MLC Disk" "Folder"="NandFlash1" ;这里显示的为原创 2012-07-18 15:13:27 · 617 阅读 · 0 评论 -
wince6 更新设备时间
void SETTIME(CString m_time){ CString s; int n;int i; SYSTEMTIME CurTime; //GetLocalTime(&CurTime); s="";for(i=0;i CurTime .wYear = n; s="";for(i=5;i原创 2012-08-04 15:41:34 · 434 阅读 · 0 评论 -
wince6 获取设备时间并按要求格式返回
CString GETTIME(CString send3vv){SYSTEMTIME CurTime; CString strTime; GetLocalTime(&CurTime); strTime.Format(_T("%d/%02d/%02d %02d:%02d:%02d"), CurTime.wYear,CurTime.wMonth, Cu原创 2012-08-04 15:46:00 · 377 阅读 · 0 评论 -
wince6 直接重启系统
#include #include #pragma comment(lib, "Toolhelp.lib")#include #include SetSystemPowerState(NULL, POWER_STATE_RESET, POWER_FORCE);//系统重启了,6410通过,2416有问题,正在修补原创 2012-07-26 21:49:17 · 530 阅读 · 0 评论 -
wince6 定制6410的开机菜单
文件地址:C:\WINCE600\PLATFORM\SMDK6410\SRC\BOOTLOADER\EBOOT\main.c解释://// Copyright (c) Microsoft Corporation. All rights reserved.////// Use of this source code is subject to the ter原创 2012-07-27 11:17:37 · 1521 阅读 · 0 评论 -
wince6 编译应用程序,提示缺少头文件
如果安装SDK时候,提示缺少头文件,请按照如下操作(注意:一定是你安装时选择的目录,我们这里默认为c:):拷贝C:\WINCE600\PUBLIC\COMMON\OAK\INC里的文件到C:\Program Files\Windows CE Tools\wce600\TE6410 Board\include\ARMV4I其他比如2416复制到相应的目录原创 2012-07-26 22:41:42 · 791 阅读 · 0 评论 -
wince6 2416 bsp制作的NK.bin复制到指定目录
@ echo offdel n*.*del e*.*del s*.*copy C:\WINCE600\OSDesigns\S3C2416\S3C2416\RelDir\smdk2416_ARMV4I_Release\EBOOT.bin EBOOT.bincopy C:\WINCE600\OSDesigns\S3C2416\S3C2416\RelDir\smdk24原创 2012-07-26 21:19:48 · 885 阅读 · 0 评论 -
wince6 应用程序如何执行打开网页以及目录下其他exe,可执行文件
-----------------------------------------------------------------------------------------------------------------------------使用vs2005 c++编写如何执行打开网页以及目录下其他exe,可执行文件BOOL OpenWebTest( void ){原创 2012-07-26 21:27:52 · 1040 阅读 · 0 评论 -
wince6 应用程序使用定时器
---------------------------------------------------------------------------------------------------------------------------wince定时器afx_msg void OnTimer(UINT_PTR nIDEvent);//初始化定时器1xx原创 2012-07-26 21:29:30 · 984 阅读 · 0 评论 -
wince6 两个应用程序进程间通信 OnCopyData
发送端void xxx(CString a1,CString a2){ CString m_strCopyData; m_strCopyData=L"|" + a1 + L"|"+ a2 + L"|";//自定义发送的数据 CWnd *pWnd=CWnd::FindWindow(NULL,L"AAAA");//找到标题为AAAA的应用程原创 2012-08-19 14:35:55 · 2145 阅读 · 0 评论 -
wince6 两个应用程序进程间通信 OnCopyData(改进)
由于字符集的关系,如果系统是使用unicode字符集可能转换有问题,所以造成之前文章的发送数据时候只能发送第一个,后面的转换不了,现在使用char *来发送就没有问题了。发送端char* CStringToCharArray(CString str){char *ptr;#ifdef _UNICODELONG len;len = WideCharToMultiB原创 2012-09-01 00:43:25 · 1290 阅读 · 0 评论 -
修改2416其他3个串口为普通串口并激活使用
修改2416其他3个串口为普通串口并激活使用,com0还是作为调试串口使用,如果需要改为普通串口使用,把BSP_NOUART0去掉1,然后编译系统;C:\WINCE600\PLATFORM\SMDK2416\smdk2416.batset BSP_NODISPLAY=set BSP_NOSERIAL=set BSP_NOUART0=1set BSP_NOUART原创 2012-08-25 20:24:55 · 882 阅读 · 2 评论 -
VMWare Workstation 9 官方免费下载地址和注册码
注册码:1A4P8-DMK0N-FZ431-7K8NH-2A82ZNY22J-FUJE1-CZ2V1-HT1QK-9AG5U5C6Z1-4QL50-EZWF1-5V156-130NN官方地址(截止发布时间官方最新版本VMware-workstation-full-9.0.0-812388)http://softwareupdate.vmware.com/cd转载 2012-08-25 16:25:31 · 4956 阅读 · 0 评论 -
dm9000aep,cep for wince6 驱动修改和读取注册表mac的方法
dm9isa.cpp修改成以下,此处为飞凌驱动移植,其他都能适用U16 C_DM9000::DeviceReadEeprom(U32 uWordAddress){//---------------------------------------------- //U16 eeprom[] = { 0x1122,0x3344,0x5566,0x5445,0x0原创 2012-07-18 15:05:01 · 1279 阅读 · 0 评论 -
wince6 设备名称修改
platform.reg修改注册表 ;--------------设备名称[HKEY_LOCAL_MACHINE\Ident]"Name"="xx_64_1" ;设备名称[HKEY_LOCAL_MACHINE\Ident]"OrigName"="xxx" ;别名[HKEY_LOCAL_MACHINE\Ident]"Username"="gues原创 2012-07-18 15:00:08 · 540 阅读 · 0 评论 -
wince6 2416 sd卡显示名称修改
platform.reg; Bind BINFS to the block driver[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SMFlash] "DefaultFileSystem"="BINFS" "PartitionDriver"="mspart.dll" "AutoMount原创 2012-07-18 15:25:43 · 1003 阅读 · 0 评论 -
学习笔记,基于OK6410的wince6系统软件设计以及驱动(综合)
提供一个自己弄的实用的wince6下重启系统的工具,双击就重启了。(所有wince6平台)http://115.com/file/anmg8nbl#system_restart.zip----------------------------------------------------------------------------------------------原创 2012-03-15 16:48:25 · 1348 阅读 · 0 评论 -
wince6 com0改成普通串口方法
wince6 com0改成普通串口方法参考:1.smdk6410.bat里set BSP_NOUART0=1将这句的值去掉set BSP_DEBUGPORT=SERIAL_UART0将这句屏蔽掉2.OAL下debug.c把判断debug_port的分支和条件都注掉,只留一个想改为调试口的分支的实现部分。3.smdk6410_serial.cppSetDTR()实原创 2012-05-27 17:27:15 · 924 阅读 · 0 评论 -
platform.bib文件属性的问题
S System fileH Hidden fileK Module needs to be prepared for execution in the kernel address space (to mapthe address).SH文件时系统隐藏文件,SHK是系统内核隐藏文件。加上K标志后,就是该文件被加载到系统的内核地址空间中。原创 2012-05-28 21:07:51 · 532 阅读 · 0 评论 -
winCE6.0 BSP 标准目标结构
winCE6.0 BSP 标准目标结构\Platform\ subdirectory Description CesysgenContains a makefile for filtering any of the configuration files in the Files directory.包含一个过滤任何配置文件中的文件目录的makefile原创 2012-05-27 16:40:03 · 408 阅读 · 0 评论 -
Wince6的系统更新提示,升级包(每月都有更新)
顺序为倒序,最新的在前面2012分月包http://www.microsoft.com/windowsembedded/en-us/downloads/download-windows-embedded-ce6.aspx2011全年包此包可以升级r3之后所有升级包总和,r3之后只要打此补丁即可。http://www.microsoft.com/en-原创 2012-05-27 12:12:36 · 4638 阅读 · 0 评论 -
2416的按键驱动 for wince6
1.userkey.cpp此处实现了GPG1引脚的按键返回给应用程序#include #include #include #include #include "Mmsystem.h"#include #include #include //#include #include #pragma comment(lib,"ceddk原创 2012-07-06 20:56:23 · 721 阅读 · 0 评论 -
2416分辨率修改
C:\WINCE600\PLATFORM\SMDK2416\Src\Inc\bsp_cfg.h//#define LCD_MODULE_TYPE (LCD_MODULE_UT35A) // Tianma 3.5" 320x240//#define LCD_MODULE_TYPE (LCD_MODULE_UT43A) // Qunc原创 2012-06-27 23:16:41 · 583 阅读 · 0 评论 -
2416芯片nandflash保存数据问题和映射
现在选用一个2416芯片,配置K4T511630J-BCE7的64M内存,为K9F2G08U0B的256M nandflash SLC,s3c2416 400M,接口引脚:130。SLC的有三星的 K9F2G08U0B,和现代的 HY27UF082GB 两种类型。MLC的有 K9GAG08U0D,K9G8G08U0A,均为三星的Nandflash原创 2012-06-28 13:40:42 · 798 阅读 · 0 评论 -
2416的LED驱动 for wince6
1.注册表;================= LED ==================[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\LED]"Prefix"="LED""Dll"="led.dll""Order"=dword:30"Index"=dword:12.bib led.dll $(_FLATRELE原创 2012-07-03 01:00:16 · 1319 阅读 · 1 评论 -
2416的eboot菜单选项
WinCE6.0 Ethernet Boot Loader Configuration:0) IP address: 0.0.0.01) Subnet mask: 255.255.255.02) DHCP: Disabled 3) Boot delay: 2 seconds原创 2012-06-28 13:42:11 · 527 阅读 · 0 评论 -
smdk2416.bat文件介绍
C:\WINCE600\PLATFORM\SMDK2416\smdk2416.bat此文件定义cpu类型和所有系统设置@REM@REM Copyright (c) Microsoft Corporation. All rights reserved.@REM@REM@REM Use of this source code is subject to the ter原创 2012-07-03 16:07:27 · 743 阅读 · 0 评论 -
wince6 应用程序杀掉其他进程
//杀掉进程函数HRESULT KillProcessByName(LPCTSTR lpProcessName){ HRESULT hr = S_OK; HANDLE hnd; PROCESSENTRY32 pe32; if (NULL == lpProcessName) { return E_INVALIDARG;原创 2012-07-18 14:15:58 · 665 阅读 · 0 评论 -
wince6 HIVE注册表的存储位置
platform.regHIVE注册表的存储位置;for hive based registry; HIVE BOOT SECTIONIF IMGHIVEREG[HKEY_LOCAL_MACHINE\Init\BootVars] "SystemHive"="\\NandFlash\\System.hv" ;系统信息存储的位置"原创 2012-07-18 15:15:33 · 704 阅读 · 0 评论 -
嵌入式需要了解的定义函数
转载:野火预处理器(Preprocessor) 1. 用预处理指令#define 声明一个常数,用以表明 1 年中有多少秒(忽略闰年问题) #define SECONDS_PER_YEAR (60 * 60 * 24 * 365)UL 我在这想到几件事情: 1). #define 语法的基本知识(例如:不能以分号结束,转载 2012-09-08 14:02:59 · 1725 阅读 · 1 评论