在Linux下
你可以用diff
ex
diff 1.txt 2.txt
在Windows下
你可以用
comp or
fc
ex
comp 1.txt 2.txt
fc 1.exe 2.exe
Reference:
CMD指令速查手冊
and
Linux man
2007年11月15日 星期四
用JTagWriter需要的檔案
giveio.inf
and
giveio.inf
下載地方
http://www.openembedded.org/~koen/index.php?path=letux%2Fbootloader%2FGIVEIO/
安裝方式
請參考
charles's blog
Updated:
for our machine
http://www.divshare.com/download/2758526-1ae
it's the same openembedded we mentioned.
and
giveio.inf
下載地方
http://www.openembedded.org/~koen/index.php?path=letux%2Fbootloader%2FGIVEIO/
安裝方式
請參考
charles's blog
Install GIVEIO.SYS in XP
Updated:
for our machine
http://www.divshare.com/download/2758526-1ae
it's the same openembedded we mentioned.
透過Facebook分享
lstrlen 算出來的居然不是 wchar 的實際長度
WCHAR wctmp[100] = L"ttt";
t的部份
wchar會用 2bytes來表示 所以應該為 0x00116
用wce debug - watch來看
只會顯示116 (可能忽略0x00的部份)
用lstrlen算 算出來只會是3
並不會是6
所以如果要針對wchar參數做copy
請記住 總長度為 lstrlen*2
才會copy到完整的wchar
t的部份
wchar會用 2bytes來表示 所以應該為 0x00116
用wce debug - watch來看
只會顯示116 (可能忽略0x00的部份)
用lstrlen算 算出來只會是3
並不會是6
所以如果要針對wchar參數做copy
請記住 總長度為 lstrlen*2
才會copy到完整的wchar
透過Facebook分享
2007年11月14日 星期三
建立SVN
很久沒有用了
都忘記怎麼用了
重新複習一下
請先安裝TortoiseSVN
1. 建立 repository
建立一個資料夾 BtDLL_APPv2
在該資料夾下
按下滑鼠右鍵
選擇TortoiseSVN -> Create repository here
預設選 FSFS
2. 建立所需要的三個資料夾
建立一個資料夾 Branch - for BtDLL_APPv2
這個資料夾之下在建立三個資料夾
release
trunk
tag
在該資料夾下 按下滑鼠右鍵
選擇TortoiseSVN -> Import
在URL of repository選擇1.的資料夾
3.加入source
到要加入source的資料夾A下
3.1
加入一條rule(因為有些檔案不需要加入的關係)
資料夾A按下滑鼠右鍵
TortoiseSVN -> Settings -> Subversion -> Global ignore pattern:
加入
ARMV4IDbg ARMV4IRel *.vcb *.vco *.vcc *.obj *.pdb *.exe *.sbr *.bsc *.sbr *.res *.pch *.exp *.vcl *.vcw *.scc
中間以空格隔開
release
trunk
tag
3.2
Updated in 2007/11/28
check-out
路徑選擇
剛剛建立 Repository的trunk
add file
TortoiseSVN -> add
請勾掉不要check-out的檔案
3.3
做commit
TortoiseSVN -> commit
Reference:
http://realchecko.blogspot.com/search?q=svn
都忘記怎麼用了
重新複習一下
請先安裝TortoiseSVN
1. 建立 repository
建立一個資料夾 BtDLL_APPv2
在該資料夾下
按下滑鼠右鍵
選擇TortoiseSVN -> Create repository here
預設選 FSFS
2. 建立所需要的三個資料夾
建立一個資料夾 Branch - for BtDLL_APPv2
這個資料夾之下在建立三個資料夾
release
trunk
tag
在該資料夾下 按下滑鼠右鍵
選擇TortoiseSVN -> Import
在URL of repository選擇1.的資料夾
3.加入source
到要加入source的資料夾A下
3.1
加入一條rule(因為有些檔案不需要加入的關係)
資料夾A按下滑鼠右鍵
TortoiseSVN -> Settings -> Subversion -> Global ignore pattern:
加入
ARMV4IDbg ARMV4IRel *.vcb *.vco *.vcc *.obj *.pdb *.exe *.sbr *.bsc *.sbr *.res *.pch *.exp *.vcl *.vcw *.scc
中間以空格隔開
update in 2007/11/28 -- error
此步驟會先幫你加入三個folderrelease
trunk
tag
3.2
Updated in 2007/11/28
check-out
路徑選擇
剛剛建立 Repository的trunk
add file
TortoiseSVN -> add
請勾掉不要check-out的檔案
3.3
做commit
TortoiseSVN -> commit
Reference:
http://realchecko.blogspot.com/search?q=svn
透過Facebook分享
訂閱:
文章 (Atom)