原创 找到出問題的位置---test it
data_capture_module() { var_a=getfromhardware(); var_b=getfromhardware(); //test view module var_a=1; // set a c
原创 sql server unicode 支持
所有的文檔和網上的文章都說N可以解決問題。但如果使用wstring bind後select...,則會發現得到的 wstring 格式的column很大可能結果是亂碼。 其實可以這樣解釋這個問題:鍵盤是沒法輸入uniocde編碼的,除
原创 gnu make
http://www.steve.org.uk/Software/make/ open visual studio 2005 command prompt, according to readme.win32, nmake -f
原创 寫程序的低級錯誤
1.=,==分不清楚,多半是都寫爲=; 2.循環中忘記加減變量使得出現死循環。 3.運行的代碼和所寫的代碼並不是同一份代碼。 4.if不加括號只能有一句包含在if裏。 5.忘記c與c++的區別。 以後再補充。。。 ============
原创 activex directshow linking 問題的解決
Strmbasd.lib(dllentry.obj) : error LNK2001: unresolved external symbol "class CFactoryTemplate * g_Templates" (?g_Templ
原创 windows mobile control panel applets
ctlpnl.exe cplmain.cpl,1 - set password ctlpnl.exe cplmain.cpl,2 - set ownerinfo ctlpnl.exe cplmain.cpl,3 - battery sta
原创 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,
原创 default.hv user.hv 的修改
使用rgucomp 工具 1.set _FLATRELEASEDIR=. ;這一步是設置環境變量2.rgucomp -o default.hv -nologo > boot.rgu ;這一步就是把default.hv轉換成boot
原创 buffer stream FIFO
class buffer_stream{public: unsigned char * buf; int len; buffer_stream(unsigned char * buf_in,int len_in) { buf= new
原创 EventModify
windows mobile 系統coredll.dll並沒有真正暴露SetEvent等函數,而是以EventModify替代了三個API。 其原型應該是EventModify(HANDLE ,DWROD) 第二個參數的定義如下: #
原创 編譯原理
http://sei.nudt.edu.cn/cp/index.php?type=kczy&page=kcja
原创 atciui.exe
windows mobile modem link active switch. http://forum.xda-developers.com/showthread.php?t=314371
原创 xipport
FE 03 00 EA ----xip start addr. F8 AC 2C 9D-----imgfs start addr. it is used to calculated the xip_out.bin writtin
原创 javascript+ activex
花了三天時間把一個mfc dialog base的應用改寫成了activex控件。因爲vs 的強大,這個是很容易的。 只需要將CDialog 的代碼全部拷貝到支持mfc 的activex,然後 add a CDialog variab
原创 Window CE/mobile 網絡工具
vxHpc High Performance Serial and Telnet Communications Software vxHpcPlus Serial, Telnet, SSH Plus Advanced Terminal E