自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(37)
  • 收藏
  • 关注

原创 EventModify

windows mobile 系统coredll.dll并没有真正暴露SetEvent等函数,而是以EventModify替代了三个API。其原型应该是EventModify(HANDLE ,DWROD)第二个参数的定义如下: #define EVENT_PULSE     1#define EVENT_RESET     2#define EVENT_SET         3

2009-12-02 13:31:00 1556

原创 default.hv user.hv 的修改

使用rgucomp  工具 1.set _FLATRELEASEDIR=. ;这一步是设置环境变量2.rgucomp -o default.hv -nologo > boot.rgu  ;这一步就是把default.hv转换成boot.rgu文件然后请手工在第一行加入如“REGEDIT4”,并存为unicode格式最后一行为空行3.rgucomp -b  4.initfla

2010-01-04 15:31:00 1255

原创 xipport

FE 03 00 EA ----xip start addr. F8 AC 2C 9D-----imgfs start addr. it is used to calculated the xip_out.bin  writting address.   

2009-12-30 16:18:00 551

原创 microsoft sql server management studio (express)

这是很好的辅助sql设计和开发的工具。可以导出script,包括表的创建描述脚本。运行sql脚本。表设计,修改,数据编辑等。创建视图,存储过程。微软网站有下载。

2009-12-26 11:31:00 788

原创 编译原理

http://sei.nudt.edu.cn/cp/index.php?type=kczy&page=kcja

2009-12-24 10:17:00 433

原创 java keywords and language tutorial

http://en.wikipedia.org/wiki/List_of_Java_keywords http://java.sun.com/docs/books/tutorial/java/index.html extends,implements,final,static,synchronized,super Nested Classes class Outer

2009-12-23 15:40:00 451

原创 atciui.exe

windows mobile modem link active switch.  http://forum.xda-developers.com/showthread.php?t=314371 

2009-12-22 14:33:00 519

原创 Device Emulator

现在发现Device Emulator是一个很强大的仿真器。以前只是用来调试一下应用。wm bsp有个deviceemulator,这个bsp编译的镜像直接可以运行的:DeviceEmulator.exe  diskimage.nb0 /memsize 128

2009-12-21 16:28:00 742

原创 arm simd

http://www.arm.com/products/CPUs/arch-simd.html以前用过intel 的sse2 做浮点的优化。今天发现arm架构中也有simd扩展。

2009-12-20 21:03:00 1377

原创 windows mobile control panel applets

ctlpnl.exe cplmain.cpl,1 - set passwordctlpnl.exe cplmain.cpl,2 - set ownerinfoctlpnl.exe cplmain.cpl,3 - battery statusctlpnl.exe cplmain.cpl,4 - memory statusctlpnl.exe cplmain.cpl,5 - about

2009-12-16 11:03:00 666

原创 javascript+ activex

花了三天时间把一个mfc dialog base的应用改写成了activex控件。因为vs 的强大,这个是很容易的。只需要将CDialog 的代码全部拷贝到支持mfc 的activex,然后 add a  CDialog  variable to  OleControl.  在 COleControl::OnCreate()里,CDialog::Create(ID,this);做到这里这个

2009-12-14 21:06:00 532

原创 gnu make

http://www.steve.org.uk/Software/make/ open  visual studio 2005 command prompt,  according to readme.win32, nmake -f nmakefile OK!

2009-12-10 16:05:00 413

原创 activex directshow linking 问题的解决

Strmbasd.lib(dllentry.obj) : error LNK2001: unresolved external symbol "class CFactoryTemplate * g_Templates" (?g_Templates@@3PAVCFactoryTemplate@@A)Strmbasd.lib(dllentry.obj) : error LNK2001: unresol

2009-12-10 16:03:00 998 1

原创 写程序的低级错误

1.=,==分不清楚,多半是都写为=;2.循环中忘记加减变量使得出现死循环。3.运行的代码和所写的代码并不是同一份代码。4.if不加括号只能有一句包含在if里。5.忘记c与c++的区别。以后再补充。。。===============如果一个系统原来运行没有问题,加了一些功能后出现了问题,则首先应对所加代码进行单元分析,没有找出问题的话再分析所加代码和原有代码的相关性。

2009-12-08 16:07:00 540

原创 Window CE/mobile 网络工具

vxHpc High Performance Serial and Telnet Communications Software vxHpcPlus Serial, Telnet, SSH Plus Advanced Terminal Emulation Software pkHpc Windows Mobile to Data General, Hewlett-Packard, Pick, St

2009-12-03 15:21:00 802

原创 intel compiler 11.1

 使用版本一个月就到期了,这时候该系统时间是可以继续编译通过的。不过如果涉及到依赖性的判断,生成文件时间的混乱会造成编译系统不能正常运行。如果使用命令行进行编译,需要运行iclvars.bat ia32 (32bit/x86),以建立icl.exe的运行path。 

2009-11-18 15:24:00 918

原创 pdocread.exe usage

 C:/itsutils>pdocread.exe -lCopying C:/itsutils/itsutils.dll to WCE:/windows/itsutils.dllCould not update itsutils.dll to the current version, maybe it is inuse?try restarting your device, or rest

2009-11-10 12:47:00 763

原创 SQLite 列出所有表

最近在玩opensim,其默认数据库为SQLite,找了半天才知道.tables ?TABLE?不用参数直接用.tables 回车 OK

2009-11-08 22:07:00 4568

原创 问题解决之道----程序崩溃

最常见的程序崩溃是内存访问越界,无效指针等。这种情况在debug版下较好定位。最近有个多模块的应用,程序崩溃但却一时找不出原因。最后发现,是模块A和模块B都包含了头文件i.h,但工程下却有两份i.h(经理这么弄的,的确不利于管理),某人改写了其中一份i.h,却没有改另外一份i.h,在一个class里加了一些变量,这时候两个模块都能编译连接通过,但是程序一运行就崩溃。结论,一个项目里所包含的

2009-11-02 13:15:00 399

原创 buffer stream FIFO

class buffer_stream{public: unsigned char * buf; int len; buffer_stream(unsigned char * buf_in,int len_in) {  buf= new unsigned char [len_in];  memcpy(buf,buf_in,len_in);  len=len_in;  //cout  }

2009-10-29 14:37:00 649

原创 regular express difference in visual studio

There is some difference between vs text editor and the other regex . VS: gerneral:(perl) /bSQL/w*/b maths all the  words like SQL***** 

2009-10-28 13:21:00 388

原创 维护自己的电脑--删掉想删的文件

在删除Logitech vid的软件时,出现$_hpcsp$.hpc这个文件被其他程序独占的错误。因此我想删除这个文件再删除Logitech vid。但是即使在安全模式,这个文件也删除不掉。搜了一下,发现这个文件并不是病毒,而是 Microsoft Windows CE Services 在使用。但具体是哪个进程在使用,必须使用工具才能查清楚。我使用process explorer查明其实

2009-10-28 08:04:00 436

原创 找到出问题的位置---test it

data_capture_module()   { var_a=getfromhardware(); var_b=getfromhardware(); //test view modulevar_a=1; // set a const value or a simple data which you can calculated correctly in data_view

2009-10-27 12:34:00 400

原创 解决问题之道---try catch

try {    sentence_1;    sentence_2;    .    .    .    sentence_m;   // if this sentence throws a exception ,program will go to catch() location.     .    .    sentence_n;  }

2009-10-27 09:37:00 563

原创 sql server unicode 支持

所有的文档和网上的文章都说N可以解决问题。但如果使用wstring bind后select...,则会发现得到的 wstring 格式的column很大可能结果是乱码。 其实可以这样解释这个问题:键盘是没法输入uniocde编码的,除非用微软拼音的内码输入。因此数据库的客户端软件输入表的内容并非unicode,即使在表设计的时候用了N。因此select出来的结果并不能用wsting来解析。

2009-10-26 17:26:00 2855

原创 google 英文版

www.google.com/ncr

2009-10-25 19:35:00 769

原创 Dump Buffer v0.1

#define  LINE_LEN 64void DumpBufferHex(unsigned char * buf ,int len){ static char buf_str[LINE_LEN *3+4]; int buf_str_len=LINE_LEN *3+4;   int p_t=len/LINE_LEN ; int p_remain=len%LINE_LEN; int k=0; in

2009-10-12 16:26:00 788

原创 ARM Stack Frame Layout

reference to: http://msdn.microsoft.com/en-us/library/aa448593.aspx r0~r3传递了四个参数。如果有更多的参数,则在放在stack里。比如  mov r4,1         str   r4,[sp]        mov r5 , 0         str   r5 ,[sp+4]

2009-10-10 10:53:00 2257

原创 Oracle Berkeley DB

 SQL 术语Oracle Berkeley DB 对应词汇数据库环境表数据库字节组/行键/数据对主索引键次索引次数据库 摘自:http://www.oracle.com/technology/global/cn/pub/articles/seltzer-berkeleydb

2009-10-07 16:55:00 637

原创 vs2005 程序发布问题

/Microsoft Visual Studio 8/VC/redist/x86/ 目录下的文件有必要随目标程序一起发布。可解决大部分程序启动配置错误等问题。

2009-09-30 11:01:00 324

原创 directshow 发布问题

HRESULT   hr=::CoCreateInstance(CLSID_SampleGrabber,NULL,CLSCTX_INPROC_SERVER,  IID_IBaseFilter,(void**)&pSampleGrabber);依赖 qedit.dll , 遇到没有安装的机器,必须regsvr32 。还有相关的CLSID_xxx也有类似问题。 

2009-09-30 10:33:00 458

原创 symbian 开发环境的搭建

只记一点,就是activeperl的版本,5.6行,5.8不行,估计更高的version也不行。carbide c++ 2.0  +  3rd edition fp2 sdk 的环境。

2009-09-30 10:06:00 425

原创 敬畏心

保持对研发的敬畏之心,对自然的敬畏之心,对人的敬畏之心!

2009-09-30 10:03:00 846

原创 linked a small .exe

when linking a  static lib, you can decrease the size of your output program by way of the  following option:/OPT:REF

2009-09-22 16:52:00 374

原创 debug log print function

 int DbgPrintf (LPSTR sz,...)  {   static char szOutput[1024];   va_list va;   va_start(va, sz);   wvsprintf (szOutput,sz,va);      /* Format the string */   va_end(va);   OutputDebugString(szOu

2009-09-18 13:14:00 729

原创 wireshark Loopback capture setup

From :http://wiki.wireshark.org/CaptureSetup/Loopback @++++++++++++++++++++++++++++++++++Alternatives A commercial network sniffer called CommView (from TamoSoft) allows to capture packets

2009-09-18 13:10:00 2154

原创 飞信设计的重大失误!

windows mobile 2008版,发送编辑框中居然不能粘贴文本,这样弱智的问题难道是技术的问题?copy&paste是windows历来都支持的基本而重要的功能,不知道飞信的设计者这样设计是为了什么?

2009-09-04 11:11:00 498

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除