<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2994017067235797430</id><updated>2011-07-08T13:04:16.123+08:00</updated><category term='Life'/><category term='Windows Kernel Driver'/><category term='渡假'/><category term='PE Format'/><category term='除錯經驗分享'/><category term='定位Kernel32.dll的方法'/><category term='cook'/><category term='SEH'/><category term='Debug'/><category term='敗家'/><category term='學習Windbg系列'/><category term='Windows'/><category term='Book'/><category term='Nt Insider'/><category term='Programming'/><title type='text'>Lu Chien-Hua's Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>40</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-7617428544914610469</id><published>2010-06-18T20:19:00.002+08:00</published><updated>2010-06-19T13:04:43.573+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debug'/><category scheme='http://www.blogger.com/atom/ns#' term='除錯經驗分享'/><category scheme='http://www.blogger.com/atom/ns#' term='學習Windbg系列'/><title type='text'>How to check top level unhandle exception filter by windbg</title><summary type='text'>Many applications use SetUnhandledExceptionFilter to catch unexpeted exception. This API let application be able to hook top-level exception handler of a process. Through it app has a chance to dump debugging information or report abnormal status before process exit. This function also be used as an anti-debugging trick: If a debugger attach to a process, top-level exception handler won’t be </summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/7617428544914610469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=7617428544914610469' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/7617428544914610469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/7617428544914610469'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2010/06/how-to-check-top-level-unhandle.html' title='How to check top level unhandle exception filter by windbg'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-752047881222545928</id><published>2010-03-28T11:02:00.002+08:00</published><updated>2010-04-22T18:18:54.276+08:00</updated><title type='text'>Understanding oplock and avoid sharing violation</title><summary type='text'>Opportunistic locking (oplock) is a cache coherence protocol. General relations between Local FSD(file system driver), Server FSD, user and filter driver can be described in the picture below :

In this sharing we are going to disscus the problem that oplock wants to solve, FILE_COMPLETE_IF_OPLOCKED flag, and different types of oplock.
  
Filter oplock was introduced on Windows 2000, it was </summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/752047881222545928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=752047881222545928' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/752047881222545928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/752047881222545928'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2010/03/understanding-oplock-and-avoid-sharing.html' title='Understanding oplock and avoid sharing violation'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_Tpt4RAaMFDA/S67GsFy9c6I/AAAAAAAAKVs/PaDF3IztLUk/s72-c/oplock_thumb7.jpg?imgmax=800' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-7167762170206487931</id><published>2010-03-19T22:49:00.001+08:00</published><updated>2010-03-19T22:49:29.707+08:00</updated><title type='text'>How to develop a user mode debugger under Windows / x86 platform</title><summary type='text'>   Have you ever wonder how Visual Studio do debugging things like the picture below?     I made a slide about how to implement a debugger on Windows / x86 platform. In this sharing, we will discuss the challenge for OS to support a ring 3 debugger, the overview of Windows Ring 3 debugging, and how to implement the basic features of a debugger.   </summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/7167762170206487931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=7167762170206487931' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/7167762170206487931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/7167762170206487931'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2010/03/how-to-develop-user-mode-debugger-under.html' title='How to develop a user mode debugger under Windows / x86 platform'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_Tpt4RAaMFDA/S6OO99OvmzI/AAAAAAAAKUo/_N5hpf_U7wk/s72-c/Picture1_thumb%5B3%5D.png?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-4266348738434947319</id><published>2009-09-04T23:48:00.001+08:00</published><updated>2009-09-04T23:48:50.686+08:00</updated><title type='text'>[紀錄]送明焱</title><summary type='text'>分開後,下次見面不知道是多久之後的事情   今晚在台北街頭的不是世界級駭客跟世界級書匠   只是兩個二十幾歲的年輕小夥子.   無話不聊,無話不聊   謝謝你,從你身上學到很多.   加油,相信你會發展的很好. :)  </summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/4266348738434947319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=4266348738434947319' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/4266348738434947319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/4266348738434947319'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2009/09/blog-post.html' title='[紀錄]送明焱'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-1099163759667713330</id><published>2009-05-07T21:31:00.001+08:00</published><updated>2009-05-07T21:33:34.162+08:00</updated><title type='text'>布達佩斯忙裡偷閒</title><summary type='text'>這個禮拜被派去匈牙利首都布達佩斯參加會議，第一次一個人跑到地球的另外一邊，出發前心情有點忐忑。台北沒有直達布達佩斯的班機，所以必須先飛香港、轉機到德國、再轉小飛機到布達佩斯。在慕尼黑的時候小緊張了一下，被海關當做偷渡客 ，不過因為匈牙利簽證天衣無縫(廢話本來就是真的) 也有回程機票，就讓我走了。哈哈！ Budapest給我的感覺有點介於台南與花蓮市之間 ，建築挺漂亮，但是現代化的程度還ok而已。物價在歐洲應該算偏低,比台北略高吧！一份麥當勞大約快兩百台幣。想要用少少的經費體驗歐洲風情，這裡算是自助不錯的選擇。抵達之後，立刻到information center換福林以及買Budapest card。我買的Budapest card是三日票，可以免費達乘大眾交通工具，多處景點也有折扣。不過如果只需要免費坐捷運跟公車，推薦更划算的One-day travel card，每人1500福林。</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/1099163759667713330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=1099163759667713330' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/1099163759667713330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/1099163759667713330'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2009/05/blog-post.html' title='布達佩斯忙裡偷閒'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_Tpt4RAaMFDA/SgLiegsWSJI/AAAAAAAAHyE/9_dc1RSGmtM/s72-c/P1020483_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-5518990314713972290</id><published>2009-04-03T10:06:00.001+08:00</published><updated>2009-04-03T10:06:29.237+08:00</updated><title type='text'>Windows學習地圖</title><summary type='text'>   1.“Windows via C/C++”, “The old new thing”   2.“Windows NT 2000 Native API Reference”    3. “Windows Internals ”, “Memory management algorithm and implementation in c/c++ ”    4.“Windows Internals ”    5.“Programming the Windows Driver Model””Windows Internals ”, OSR Nt Insider  6.Winddk\src\filesys\filter\sfilter,filespy ,OSR     7.Winddk\src\filesys\filter\miniFilter\passThrough, minispy, </summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/5518990314713972290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=5518990314713972290' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/5518990314713972290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/5518990314713972290'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2009/04/windows.html' title='Windows學習地圖'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_Tpt4RAaMFDA/SdVvJFqvXiI/AAAAAAAAHQA/SQnIYDiO0bE/s72-c/Slide2_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-714065318934183048</id><published>2009-03-25T21:32:00.001+08:00</published><updated>2009-03-25T21:38:26.938+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>百聽不膩</title><summary type='text'>    有人古典音樂可以百聽不膩，可惜我沒有那個福氣與慧根，不論如何用心欣賞都會想睡。爵士樂就好多了，尤其是Bill Evans與Thelonious Monk這兩位大師的曲子，可以一邊聽一邊思考問題、撰寫程式。     腦海中的爵士樂手的名字非常之少，能說出名字的只有這兩位。(Thelonious Monk的first name還不會念，常常以專輯名稱Solo Monk來稱呼之。)介紹這兩位大師的音樂給我的正是恩師，路德維希先生。明天是老師重要的日子，這裡以一曲輕快的I hadn't anyone till you，預祝老師一切順利    </summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/714065318934183048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=714065318934183048' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/714065318934183048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/714065318934183048'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2009/03/blog-post.html' title='百聽不膩'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-315181919443049623</id><published>2009-03-15T21:03:00.001+08:00</published><updated>2009-03-15T23:06:41.379+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nt Insider'/><category scheme='http://www.blogger.com/atom/ns#' term='Debug'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows Kernel Driver'/><category scheme='http://www.blogger.com/atom/ns#' term='除錯經驗分享'/><category scheme='http://www.blogger.com/atom/ns#' term='學習Windbg系列'/><title type='text'>Nt Insider : 常用的Windbg技巧(3)</title><summary type='text'>  相關知識:Windows kernel driver,x86 knowledge, Windbg command    原文連結  技巧4:：幫助發現記憶體洩漏的中斷點：記憶體標籤(Tag)      在開發Windows Kernel Driver的時候，最常使用的記憶體配置的函式之一是ExAllocatePoolWithTag。此函式可以指定一個四個字的標籤(Tag)，而配置出來的記憶體便會"貼上"這個標籤。在記憶體洩漏(memory leak)的情況，此標籤就成為解決問題的重要工具！        不過在使用記憶體標籤功能之前，如果系統的不是Windows 2003、Vista或是更新的版本，那我們需要調整一下系統設定。下載Windbg並且安裝完成之後，此時會發現同一包裡面除了Windbg還有另一個小工具：GFlags。這個小工具讓我們可以藉由UI對系統的各項設定進行調整，</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/315181919443049623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=315181919443049623' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/315181919443049623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/315181919443049623'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2009/03/nt-insider-windbg3.html' title='Nt Insider : 常用的Windbg技巧(3)'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_Tpt4RAaMFDA/Sb0BM_xeZtI/AAAAAAAAGx4/GbZE2GWarL4/s72-c/GFlag_thumb%5B4%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-6548799204917853370</id><published>2009-03-11T00:41:00.002+08:00</published><updated>2009-03-14T12:02:08.099+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debug'/><category scheme='http://www.blogger.com/atom/ns#' term='除錯經驗分享'/><category scheme='http://www.blogger.com/atom/ns#' term='學習Windbg系列'/><title type='text'>除錯經驗分享(1)：EIP = 0所造成的Crash</title><summary type='text'>相關知識：x86架構、Compiler、Windbg指令 今天遇到一個值得分享的問題，先看一下Crash發生時候的Stack：    1:      2:  STACK_TEXT:     3:  WARNING: Frame IP not in any known module. Following frames may be wrong.   4:  f7a22c60 f7944029 0000ffff f7a22c7c f794407a 0x0   5:  f7a22c6c f794407a 0000ffff bb40e64e f7a22d4c BasicDriver!CheckParameterAndCallHelperFunction+0x19 [d:\XXX\basicdriver.c @ 25]   6:  f7a22c7c 805777ff 824e5cc0 </summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/6548799204917853370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=6548799204917853370' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/6548799204917853370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/6548799204917853370'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2009/03/1eip-0crash.html' title='除錯經驗分享(1)：EIP = 0所造成的Crash'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-9215478708400332349</id><published>2009-03-06T07:41:00.002+08:00</published><updated>2009-03-14T12:01:03.118+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debug'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><category scheme='http://www.blogger.com/atom/ns#' term='SEH'/><category scheme='http://www.blogger.com/atom/ns#' term='定位Kernel32.dll的方法'/><category scheme='http://www.blogger.com/atom/ns#' term='學習Windbg系列'/><title type='text'>學習Windbg系列：定位Kernel32.dll的方法 (2)</title><summary type='text'>相關知識:Windows Knowledge, PE Format, Windbg command, Intel x86 knowledge             上次我們討論過如何利用PEB定位出Kernel32.dll，這次要討論怎樣使用TEB定位的方式。本篇的內容適用於XP，其他平台的原理相通。首先打開計算機，然後使用Windbg選擇File-&gt;Attach to a Process "附身"到calc.exe。所謂發文不附圖,此風不可長：                 建議勾選底下的"Noninvasive"。如果沒有勾選，被debug的程式將會多出一個執行緒(你是誰派來的？我是debugger派來的！ )。同時Windbg結束時，calc.exe也會隨之結束。           在前一篇，我們利用了PEB裡面的LDR資訊找出裝載的DLL，本篇將利用TEB的資訊找出</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/9215478708400332349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=9215478708400332349' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/9215478708400332349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/9215478708400332349'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2009/03/windbgkernel32dll-2.html' title='學習Windbg系列：定位Kernel32.dll的方法 (2)'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_Tpt4RAaMFDA/SbBjPlg9m-I/AAAAAAAAGro/j4BJU1CA1-c/s72-c/AttachToProcess_thumb.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-7583060915787060893</id><published>2009-03-05T08:21:00.002+08:00</published><updated>2009-03-14T12:01:40.900+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PE Format'/><category scheme='http://www.blogger.com/atom/ns#' term='Debug'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><category scheme='http://www.blogger.com/atom/ns#' term='定位Kernel32.dll的方法'/><category scheme='http://www.blogger.com/atom/ns#' term='學習Windbg系列'/><title type='text'>學習Windbg系列：定位Kernel32.dll的方法(1)</title><summary type='text'>相關知識:Windows Knowledge, PE Format, Windbg command, x86 knowledge       先定義一下問題:如何使用Windbg or KD，藉由Windows的運作法則以及PE的格式，找出一個Process載入的Kernel32.dll的位置。更進一步的推導出Kernel32.dll所export的function。         就拿記事本為例子吧！打開Windbg，"File-&gt;Attach To Process"，挑選notepad.exe。      接著看存放在fs:[30]的PEB data。             1: 0:001&gt; dd fs:[30] L1

       2: 0038:00000030  7ffde000

       3: 0:001&gt; dt _PEB 7ffde000

       4:</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/7583060915787060893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=7583060915787060893' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/7583060915787060893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/7583060915787060893'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2009/03/kernel32dll1.html' title='學習Windbg系列：定位Kernel32.dll的方法(1)'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-3923550698587559533</id><published>2009-02-28T21:33:00.004+08:00</published><updated>2009-03-14T12:03:24.875+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PE Format'/><category scheme='http://www.blogger.com/atom/ns#' term='Nt Insider'/><category scheme='http://www.blogger.com/atom/ns#' term='Debug'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows Kernel Driver'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><category scheme='http://www.blogger.com/atom/ns#' term='學習Windbg系列'/><title type='text'>Nt Insider : 常用的Windbg技巧(2)</title><summary type='text'>相關知識: Windows知識, Windbg指令, Windows Kernel Driver, Live Debug, PE格式 , x86 assembly 原文連結 : Debugging Techniques: Take one...Give one  技巧2: 在特定驅動程式呼叫特定(外部)函式的時候中斷執行      這是一個相當實用的偵錯技巧。舉個例子，現在我們正在練習寫一支很基本的Driver，做的事情很簡單，不過只是在DriverEntry裡面用ZwCreateFile去C:底下讀個檔。但是不知怎麼了，每次讀檔都會失敗。如果想要把中斷點下在ZwCreateFile，那可以說很難達到偵錯的效果，因為這個系統函式實在是太常、太容易被呼叫了。那該怎麼用Windbg解決這件問題呢？     很幸運的，Driver的格式是PE格式，PE格式裡面有個Table可以派上用場：</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/3923550698587559533/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=3923550698587559533' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/3923550698587559533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/3923550698587559533'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2009/02/nt-insider-windbg2.html' title='Nt Insider : 常用的Windbg技巧(2)'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-2666833253156125511</id><published>2009-02-27T23:41:00.004+08:00</published><updated>2009-03-14T12:03:54.099+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nt Insider'/><category scheme='http://www.blogger.com/atom/ns#' term='Debug'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><category scheme='http://www.blogger.com/atom/ns#' term='學習Windbg系列'/><title type='text'>Nt Insider : 常用的Windbg技巧(1)</title><summary type='text'>相關知識: Windows知識, Windbg指令, Live debug, x86架構  原文 : Debugging Techniques: Take One...Give One  技巧1 : 當應用程式出問題時,對RtlNtstatusToDosError設中斷點  應用程式產生錯誤的時候,有幾個可能性     這是應用程式內部功能的bug     應用程式(直接/間接)使用Win32的API,得到了一個Error     應用程式(直接/間接)使用Win32的API,雖然沒有發生Error,但是拿到的不是預期的結果         本文要討論的技巧適用於狀況2.當應用程式直接或間接的使用了Win32 API並且得到了一個Error,NTDLL.dll的RtlNtstatusToDosError會被呼叫,此函式負責把Kernel回傳的NTSTATUS code (ex. </summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/2666833253156125511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=2666833253156125511' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/2666833253156125511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/2666833253156125511'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2009/02/nt-insider-windbg1.html' title='Nt Insider : 常用的Windbg技巧(1)'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-8121987023789173478</id><published>2008-12-10T22:49:00.001+08:00</published><updated>2008-12-10T23:01:59.055+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Debug'/><title type='text'>Programmer Universalis</title><summary type='text'>我也以為標題打錯字了但是書裡面真的這樣寫，好像是某種拉丁文吧。  最近在讀Memory Dump Analysis Anthology書裡的一段話和心裡一直尋覓的境界非常契合：  It's very good to be able to understand and even write everythingfrom GUI down to machine language instructions or up. Certainlyunderstanding how software works at every level is very helpful...(略)Debugging is not about stepping through the code.This is a very narrow view of a specialist programmer. </summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/8121987023789173478/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=8121987023789173478' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/8121987023789173478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/8121987023789173478'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2008/12/programmer-universalis.html' title='Programmer Universalis'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-2475107519076607628</id><published>2008-02-04T16:18:00.000+08:00</published><updated>2008-02-04T16:39:12.925+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='敗家'/><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>[菜單]新買的電腦</title><summary type='text'>CPU         Intel Core 2 Quad-Q6600 CPU
記憶體    威剛 DDR2-800 2G X2                        
主機板     ASUS(P5K-E/WIFI-AP)                  
顯卡        MSI NX8800GT-T2D5ESP-OC 特仕版                                       
硬碟        WD 500G WD5001ABYS 企業級(2代)               
DVD燒    BENQ DW200-S 20X S-ATA(黑)                           
Power     Seasonic 430W Power Supply    
機殼        聯力A07(黑)</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/2475107519076607628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=2475107519076607628' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/2475107519076607628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/2475107519076607628'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2008/02/blog-post.html' title='[菜單]新買的電腦'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-5095268890672563799</id><published>2008-01-28T14:05:00.000+08:00</published><updated>2008-01-28T14:08:52.716+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>老頭一個</title><summary type='text'>剛上研究所的時候，希望自己每年至少能作一件神奇的事情

大四暑假，跟同學還有強者學弟們一起參加了全國性的比賽。最後很神奇的得了第三名。

碩一的時候作了SwingScript
這讓人可以用XML語法來寫GUI。
Text field、button、slider...該有的基本元件都有，甚至還可以show BMP。如此一來programmer可以更專注在演算法的開發設計。

碩二的時候作了Java filter以及碩士論文PHSQT
Java filter這個東西讓C/C++與Java可以互相溝通，但卻不必學JNI或是走其他複雜的路。
作PHSQT碩士論文的時候，遭遇到很多挫折，幸好維城學長不厭其煩的指教，再加上天天早九晚九的待在實驗室，最後總算是作的很完整，從問題背景、假設、演算法、作實驗、實驗結果分析，有一個結論出來。(雖然不是很令人振奮的結論 haha)

雖然跟SMP</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/5095268890672563799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=5095268890672563799' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/5095268890672563799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/5095268890672563799'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2008/01/blog-post.html' title='老頭一個'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-4097659731237223239</id><published>2008-01-01T20:40:00.001+08:00</published><updated>2008-12-11T17:37:25.369+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='敗家'/><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>Panasonic FX55手入</title><summary type='text'>之前試用過禹鴻的FX33，輕薄短小的機身留下深刻印象。前陣子跟同事去台東玩，感覺沒有一台相機在手很不方便，於是就打算跟女友合購入兩人的第一台DC。


2008年的一月一號，敗家行動終於展開了。原本計畫要手入FX33，但是看到FX55的3吋液晶螢幕，我就投降了。我對攝影一竅不通，只知道畫素越大好像越不錯，其他的名詞都不懂。所以要求很簡單，而FX55也讓我跟女友很滿意。

首先就是要防手震！之前跟別人借相機去東京，為了拍地鐵車票重試了不下數十次，就因為一手拿車票一手拿相機會抖。接著就是外型，FX55 時髦的黑色讓人越看越喜歡，機身還算輕薄，購入之後去淡水玩了一圈，不論是重量或是大小均不會讓人感覺有負擔。智慧拍照模式也滿適合我這個不懂攝影的人，覺得不好看就開這個模式就對了 :P


因為這是第一台DC，所以沒辦法po開箱照(相機不能自己照自己XD)
下面幾張是FX55拍出來的相片：
</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/4097659731237223239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=4097659731237223239' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/4097659731237223239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/4097659731237223239'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2008/01/panasonic-fx55.html' title='Panasonic FX55手入'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_Tpt4RAaMFDA/R3o9xPSZ_xI/AAAAAAAACSU/k67BICyPf28/s72-c/P1000047.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-5619351378885588575</id><published>2007-11-11T17:50:00.000+08:00</published><updated>2007-11-11T18:22:31.200+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>魏如昀 - 許哲珮</title><summary type='text'>在星光大道節目中聽到魏如昀唱許哲珮的"白色婚禮"，勾起我好久以前的回憶。
"氣球"是我大二時買的專輯，還記得跟我女朋友那時候剛在一起沒多久&gt;///&lt; 我們兩個人都很喜歡這個專輯裡面的歌曲，很可惜的這位創作型才女， 之後就再也沒有出過唱片，直到六年後的最近才出了第二張"許願盒"。 現在"氣球"還在我老家的房間裡。 白色婚禮 詞/曲：許哲珮
今天特別冷 我想 是冬天來了
翻出一件件毛衣也翻出有你的記憶
記得去年冬季 你說好下個冬季舉行一場白色婚禮
在耶誕前夕 就我和你 兩個人的婚禮也可以很甜蜜
接近零下的天氣 強迫自己穿著短袖上衣
冷到不能呼吸 卻害怕穿上毛衣 又想起了你 發現是冬季
眼淚結了冰 分不清 是太冷還是痛心
Oh來不及 毛衣來不及送洗
我過期的白色婚禮.沙灘不再美麗 情歌不再動 我們不再可以一起
一起 踩著浪花數著腳印 我們過期的約定

還有另外一首很棒的"小木船"，</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/5619351378885588575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=5619351378885588575' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/5619351378885588575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/5619351378885588575'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/11/blog-post.html' title='魏如昀 - 許哲珮'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-1628304002827117233</id><published>2007-11-10T19:54:00.000+08:00</published><updated>2007-11-10T20:07:34.166+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>六分鐘極限Demo結束感言</title><summary type='text'>今天早上，在三四百人的面前，用英文完成了六分鐘極短的demo。
壓力非常的大，之前練到喉嚨都啞了。
通車的時候，就在捷運、公車上面喃喃自語的背稿。
請教美國同事糾正我的用字遣詞。
最後練到完全不用看投影片與影片，就可以很流利的背出全部六分鐘該說的話。

最後上台前，反而不那麼緊張
反覆的練習真的是免除緊張的最好方法。

最後，很高興完成這樣高難度的報告。
講完關鍵概念的時候，我聽到VIP桌那邊傳來了一聲"good"。
聽眾的回應對我來說就是最大的鼓勵。
Arther說我比七月初那次進步多了。
很高興又成長了。

謝謝Arther給我這個機會，讓我成長。
謝謝Ryan，有你的幫忙讓我可以專心present。
謝謝Ron、Fred，陪我練習。
謝謝Bobby、勞倫斯的投影片跟影片。
Thank you very much</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/1628304002827117233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=1628304002827117233' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/1628304002827117233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/1628304002827117233'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/11/demo_10.html' title='六分鐘極限Demo結束感言'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-6641382190731055274</id><published>2007-10-19T22:17:00.000+08:00</published><updated>2007-10-19T22:18:39.327+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Book'/><title type='text'>Windows via C/C++ 12/12出版</title><summary type='text'>Programming Applications for Microsoft Windows 第五版
改名為Windows via C/C++
原本正為第四版絕版而苦惱...
現在又高興起來了 YA!
"fully updated for Windows Vista, including the latest information about Windows XP"
基本上User mode programming這本必看啊!
看天瓏的討論區，似乎會立即進口。
等不及了!聖誕禮物就這本書吧!!</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/6641382190731055274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=6641382190731055274' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/6641382190731055274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/6641382190731055274'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/10/windows-via-cc-1212.html' title='Windows via C/C++ 12/12出版'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-6607062821411366694</id><published>2007-10-17T12:56:00.000+08:00</published><updated>2007-10-17T13:03:19.413+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>OSR的好文章 : Nt vs. Zw - Clearing Confusion On The Native API</title><summary type='text'>連結 : OSR的好文章 : Nt vs. Zw - Clearing Confusion On The Native API

這篇提到一件很有趣的事情
所有的Native API都有Nt 跟Zw兩種 prefix
再加上ntdll.dll與ntosknl.exe各自都有expose Nt*/Zw*
所以總共有四種可能性
1.User mode呼叫Nt*
2.User mode呼叫Zw*
3.Kernel mode呼叫Nt*
4.Kernel mode呼叫Zw*

如果用debugger下去看的話，會發現1跟2沒有差別。3
的話就是直接呼叫真正的service，也就是1跟2最後會到的地方。
4卻會規規矩矩的把service放到eax，ebx指向parameter然後呼叫KiSystemService，KiSystemService再依照eax的值，查</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/6607062821411366694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=6607062821411366694' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/6607062821411366694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/6607062821411366694'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/10/osr-nt-vs.html' title='OSR的好文章 : Nt vs. Zw - Clearing Confusion On The Native API'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-70796831771647428</id><published>2007-10-07T09:36:00.000+08:00</published><updated>2007-10-07T09:39:50.241+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cook'/><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>煎餃 實戰!</title><summary type='text'>先把鍋燒熱，油燒熱。

排剛從冰箱拿出來的餃子到鍋子。煎一下子之後倒適量"麵粉水"，這是讓餃子底酥酥脆脆的關鍵。最後蓋上鍋蓋。聽聲音跟聞香味判斷水是否乾了。乾了的話會有煎餃香，跟油滋滋叫的聲
音。水乾了以後再煎一下下就可以拿起來了。

不需要鍋剷下去翻面，這樣底才會煎的好。基本上餃子是被"蒸"熟的，所以不要太常打開鍋蓋偷看。</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/70796831771647428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=70796831771647428' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/70796831771647428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/70796831771647428'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/10/blog-post.html' title='煎餃 實戰!'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-2290952807892564683</id><published>2007-09-27T10:05:00.000+08:00</published><updated>2008-12-09T17:23:46.116+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='渡假'/><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>南京出差</title><summary type='text'> 同事A的相機，我出現比較多次：http://picasaweb.google.com.tw/fruitfoxLu/ruryXF同事B的相機：http://picasaweb.google.com.tw/fruitfoxLu/aLzqPD02 有人在大街上曬棉被跟褲子的南京的城牆還在 市政府很帥氣一般人民可以感覺的出來貧富差距很大市區跟郊區的差距大到吐血高架橋下滿滿的人在下棋喝茶...出差的行程很滿，早上報告完。中午大陸的同事就開車帶我們去中山陵走走。中山陵在南京市近郊，是個很漂亮的地方。頂著大太陽一行人爬上中山陵的頂端，往下遠眺就是南京市，景色很棒。國父的陵寢天花板上浮雕著中華民國國旗，周圍的牆壁刻著建國綱要，保存的很好。外面的牆上還有許多歷史文件，以及建造中山陵時的黑白歷史照片。就是一整個很有文化。中午吃完飯，同事沿著長江路開回去，沿途的一磚一瓦都有故事。處處都是充滿古代中國風的建築</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/2290952807892564683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=2290952807892564683' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/2290952807892564683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/2290952807892564683'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/09/blog-post_27.html' title='南京出差'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_Tpt4RAaMFDA/RvsTQvxEBLI/AAAAAAAAB7Q/EO9ut5vYgnM/s72-c/DSC02227.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-205853479480620564</id><published>2007-09-12T12:14:00.000+08:00</published><updated>2007-09-12T12:17:13.394+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>自己的時間?</title><summary type='text'>昨天晚上 花了七十分鐘回家
到家開始吃晚餐已經是八點的事情。
吃完以後，開始用微波解凍魚，趕快煮一煮
不然下禮拜要去南京，下下禮拜又回家過中秋，魚放太久不好。

送進去微波大約十分鐘，乘空檔洗個菜，幫我的黑NDSL穿上FFCC果凍套。
穿上之後...hmm...黑底燙金字樣很有感覺，但是如果是白色NDSL會更配。
拿掉了任天堂的腕帶，換上莫古吊飾。有了這個東西晚上回家還會想唸書嗎!!XD

回到廚房，一面煎魚一面燙青菜 (抱歉學長囧rz 我對"炒"真的有天生的障礙)
剛退冰的魚發出噁心的味道，配上融化有重味道的水，趕快丟到鍋子裡開始煎。
ㄜ...忘了抹鹽了...算了...
一面煎個十分鐘，再翻面，魚開始發出香味，表面變成微焦的金黃色 :)
送魚半個檸檬，希望這樣會好吃一點。
最後煎兩個荷包蛋，完成!

看看手上的手錶，九點，剛好小k打電話來要我去接他下班。
晚上不能太晚睡，</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/205853479480620564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=205853479480620564' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/205853479480620564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/205853479480620564'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/09/blog-post.html' title='自己的時間?'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-8692628361591668529</id><published>2007-09-05T07:14:00.000+08:00</published><updated>2008-12-09T17:23:46.298+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><category scheme='http://www.blogger.com/atom/ns#' term='Book'/><title type='text'>iWoz來我們公司演講</title><summary type='text'>昨天中午Woz來我們公司演講，因為同樣是工程師，所以大家對這場演講特別感興趣吧，想要瞻仰大師的風采，十二點不到會議室就被擠爆。幾乎大家都來了，不能來的也用線上streaming在座位上看。 剛開始的時候，我想Woz不確定他想說甚麼，他甚至不確定我們能不能聽懂他的英文。所以演講的一開始他說的很慢，直到後來我們對他的笑話有反應，他才放鬆開始越講越快，笑話越來越多。這也顯示了他善解人意的一面。演講的內容跟他的自傳有很大的重疊，講他發明APPLE 1,APPLE 2的心路歷程與經過。不一樣的是穿插了一些有趣的秘辛。演講中Woz不時提到賈伯斯，他說賈伯斯是一位自我期許很高的人，非常想成為人群中的菁英，像莎士比亞、牛頓之流的人物。所以當賈伯斯拿到大學課表的時候，很失望而且激動的對Woz說：我到大學來是要成為莎士比亞、牛頓的，我要拿諾貝爾獎、我要開大公司作大事，但是你看看大學安排的課表，我要上英文？</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/8692628361591668529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=8692628361591668529' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/8692628361591668529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/8692628361591668529'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/09/iwoz.html' title='iWoz來我們公司演講'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_Tpt4RAaMFDA/Rt3nDss82tI/AAAAAAAABr4/65HoYqoStLc/s72-c/image.jpg' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-8600023738089531126</id><published>2007-08-20T12:44:00.000+08:00</published><updated>2007-08-20T12:45:03.571+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cook'/><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>情人節晚餐 自製小批薩</title><summary type='text'>披薩的底，食譜上建議用蔥油餅皮(我們用蛋餅皮 有一點太薄)
餅皮塗上一層 用電鍋蒸好的馬鈴薯泥
厚薄可以依照個人喜歡
我來塗的話一定是厚的跟牆一樣吧=.=
接著灑上想吃的原料
我們有加蕃茄、洋蔥、鳳梨、火腿、肉醬
最後均勻灑上起司絲，沒有的話把起司片撕成絲也可以。
送進烤箱200度烤十分鐘
烤到起司融化就口以了!!
好棒的小k~</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/8600023738089531126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=8600023738089531126' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/8600023738089531126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/8600023738089531126'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/08/blog-post.html' title='情人節晚餐 自製小批薩'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-694606642082413381</id><published>2007-07-17T07:06:00.000+08:00</published><updated>2008-12-09T17:23:48.020+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cook'/><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>第一次煮菜(補圖)</title><summary type='text'> 第一個自己準備的便當。 其實不作菜的話，時間也是拿去上網打電動花掉了。還不如拿來學習作菜燒飯，自我成長。 第一次炸東西，逃不過焦掉的命運 囧rz 第一次自己煮的晚餐讓大家見笑了，都是些很簡單的東西。新手上路ㄎㄎ</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/694606642082413381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=694606642082413381' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/694606642082413381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/694606642082413381'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/07/blog-post_17.html' title='第一次煮菜(補圖)'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_Tpt4RAaMFDA/Rpv9TKvwLGI/AAAAAAAABps/E8e5PKrCCHY/s72-c/lunchbox(157).jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-5068671496379170143</id><published>2007-07-13T10:18:00.000+08:00</published><updated>2007-07-13T10:19:29.443+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cook'/><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>星期四、五便當菜色</title><summary type='text'>昨天太忙了，沒有時間寫。
昨天的便當菜有小k煮的花耶菜
地瓜飯，一片火腿跟一片起司，然後飯上面加上海苔醬
蒸便當的時候起司跟海苔醬就會黏在一起，還滿好吃的

今天的便當有牛肉，不過吃起來很像排骨肉@_@
還有小k煮的萵苣，再配上地瓜飯
家裡面昨天晚上有煮玉米濃湯
其實只是買個康寶濃湯加個蛋而已

最近在公司裡比較忙，但是還是堅持三餐都是我們自己弄
像昨天晚上九點才到家，小k更晚。
自己弄的成就感真的不錯
對於煮飯也覺得不是那麼困難的事情了</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/5068671496379170143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=5068671496379170143' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/5068671496379170143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/5068671496379170143'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/07/blog-post_13.html' title='星期四、五便當菜色'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-4618914177820671483</id><published>2007-07-11T11:15:00.001+08:00</published><updated>2007-07-11T11:15:48.188+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cook'/><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>今日便當菜色</title><summary type='text'>今天是剩菜剩飯大作戰
1.剩飯作的蛋炒飯
2.里肌肉排 這次應該熟了...
3.剩下來的香腸
4.最後的高麗菜
昨天去了家樂福買了牛肉跟蕃茄晚上來挑戰牛肉蕃茄湯ㄎㄎ</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/4618914177820671483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=4618914177820671483' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/4618914177820671483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/4618914177820671483'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/07/blog-post_11.html' title='今日便當菜色'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-9032958454646909571</id><published>2007-07-10T16:59:00.000+08:00</published><updated>2007-07-10T17:01:00.210+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cook'/><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>今日便當菜色</title><summary type='text'>1.美奶滋炒蛋煎香腸  晚餐的時候已經吃了一半 甜甜的好吃 
    蛋打的太少 所以主角變成了香腸
2.炒高麗菜 用煎香腸的美奶滋炒的 
    但是口味上沒有比較特別
3.蕃茄蛋炒飯 前一天的剩飯 打個蛋配上蕃茄醬丟到鍋裡炒 
    吃起來跟外面賣的一樣不好吃XD
4.雞塊 第一次油炸東西  果然逃不掉炸焦雞塊的命運 
   不過還好裡面是熟的</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/9032958454646909571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=9032958454646909571' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/9032958454646909571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/9032958454646909571'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/07/blog-post_10.html' title='今日便當菜色'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-3323759999315044250</id><published>2007-07-09T10:30:00.001+08:00</published><updated>2007-07-09T11:13:44.636+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cook'/><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>中天中午的便當菜色</title><summary type='text'>1.里肌肉排 用鹽與醬油醃過 再煎十分鐘
我也不知道熟了沒有

2.炒蛋 原本應該是荷包蛋的 翻面失敗就變成炒蛋了

3.炒高麗菜 一陣手忙腳亂之下作出來的
但是不知道為甚麼顏色有點深@_@

4.地瓜飯 跟阿公學的
地瓜去皮切塊 與米飯一起煮</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/3323759999315044250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=3323759999315044250' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/3323759999315044250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/3323759999315044250'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/07/blog-post_09.html' title='中天中午的便當菜色'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-5315505804409417932</id><published>2007-07-06T17:32:00.000+08:00</published><updated>2007-07-06T17:34:44.482+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>抓Memory Leak的好工具 VLD (限Visual Stdio)</title><summary type='text'>http://www.codeproject.com/tools/visualleakdetector.asp#build
他會去hook new/delete檢查memory leak的情況
用的時候不用寫任何的code
只要include他的header filestatic link 他的lib與DLL
他會自動生成一個global的object
在constructor的時候去hook memory operationdestructor的時候結算
然後產生的report可以show 在debuger上或是dump到file裡面
下載下來以後會有一個安裝程式會去寫register(老奸!)
HKEY_LOCAL_MACHINE\Visual Leak Detector\底下記載default的.ini檔案的位置
這個vld.ini可以改很多設定 包括dump的file name
</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/5315505804409417932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=5315505804409417932' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/5315505804409417932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/5315505804409417932'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/07/132mmemory-leak-vld-visual-stdio.html' title='抓Memory Leak的好工具 VLD (限Visual Stdio)'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-5135570004709833416</id><published>2007-07-04T18:11:00.000+08:00</published><updated>2007-07-04T18:20:24.266+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>剛上班半年，最近好忙。</title><summary type='text'>最近比較忙，所以積了好一些文章存貨在BBS上面的個人版。
6/25跟7/4兩場英文的presentation，花了好多時間準備。
剛好公司的project正要邁入重要的stage，很多bug要解，很多email要回。
又恰巧要搬到內湖的新家，要打掃張羅新的小窩。

好多事情撞在一起，很忙，但是很充實，學到很多東西。

對了，西湖國中附近的青田家很棒。
不是甚麼高級的店，東西簡單價格也便宜。
但是店裡面乾淨整潔，餐點也非常的好吃。
我最喜歡大碗的雞肉絲飯，再配一盤炒空心菜跟炸豆腐。
想到就餓了....

不過不可以常常吃，因為新家有廚房，該是要學習下廚的時候了:P</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/5135570004709833416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=5135570004709833416' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/5135570004709833416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/5135570004709833416'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/07/blog-post.html' title='剛上班半年，最近好忙。'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-636847168984311497</id><published>2007-05-25T16:15:00.000+08:00</published><updated>2007-05-25T16:42:32.408+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><title type='text'>devenv.exe佔據太多CPU % ?有可能是IntelliSense搞的鬼</title><summary type='text'>最近遇到一個問題，用VS2005開啟某些solution，devenv.exe就吃掉了50%的CPU usage。
而且並沒有要吐出來的意思 囧rz
使用Google之後才發現IntelliSense有一個Bug。

首先，甚麼是IntelliSense？
這個東西就是在VS寫程式的時候，譬如打一個變數的名字打到一半，就會跳出一個box，
裡面包含幾個已經宣告過的變數，讓你選你想使用的變數是哪一個。

這裡(連結)是IntelliSense在Wiki上面的解釋。
這裡(連結)是MSDN的解釋。

這篇文章(連結)提到IntelliSense一個很有意思的問題。

程式裡有時候會有無限循環的時候，
譬如在釐清父類別關係時，如果兩個class互相繼承，就會產生一個無限循環。

絕大多數的情況，VS2005的compiler並不會被影響，它使用了一些技術來克服這個情況。
(不然就跳出error</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/636847168984311497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=636847168984311497' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/636847168984311497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/636847168984311497'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/05/devenvexecpu-intellisense.html' title='devenv.exe佔據太多CPU % ?有可能是IntelliSense搞的鬼'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-5267475816920002773</id><published>2007-04-30T08:46:00.000+08:00</published><updated>2008-12-09T17:23:50.456+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>海芋田</title><summary type='text'> 拍的不是很好，加上下雨，就是一整個慘。第二張左上角黑黑的是雨傘XD</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/5267475816920002773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=5267475816920002773' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/5267475816920002773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/5267475816920002773'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/04/blog-post_30.html' title='海芋田'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_Tpt4RAaMFDA/RjU9ZdrlmnI/AAAAAAAAAOU/H9x9fgwPyNw/s72-c/200704281403_00072.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-5033915951589938979</id><published>2007-04-29T14:25:00.000+08:00</published><updated>2007-04-29T15:40:47.054+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>陽明山採海芋</title><summary type='text'>之前公司有一位大陸同胞來台灣出差，剛好坐在我們那個block。
有一次聽到他與友人閒聊：
友：週末去那邊玩？
同胞：上陽明山，走的腳好酸，有看到好大朵的牡丹！
友：啊，那不是牡丹，是"海芋"。
同胞：是芋頭啊？原來芋頭花可以開那麼大。
友&amp;我: .............................（當然這是一場誤會）

最近是海芋季的最後幾天，昨天便和小花花兩個人衝上陽明山看海芋。
中午十一點半在七張坐捷運，先到劍潭站的士林夜市吃了午餐。
在士林夜市用餐實在不是很愉快的經驗，我們在店家的眼中就好像活動提款機
對待提款機需要甚麼態度呢？提款前極為飢渴、提款中極為不耐、提款後急速離開。
小花花買了一個泡芙想嚐嚐，餡少也就算了，還留著冷凍的僵硬感，整體極為粗糙。
也許士林夜市還是有好店家吧，當時是中午，有開的店家不算多。
不過我對士林夜市的好感已經降到了冰點。

</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/5033915951589938979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=5033915951589938979' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/5033915951589938979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/5033915951589938979'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/04/blog-post.html' title='陽明山採海芋'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-2917688437667997067</id><published>2007-03-31T16:53:00.000+08:00</published><updated>2007-03-31T17:14:26.286+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><title type='text'>About digital signature</title><summary type='text'>當我們用API把digital signature抓出來之後，怎樣證明這個檔案真的由此issuer所發行？
通常為了保證這個檔案真的是由issuer所發出，會請第三者保證這個issuer無誤。
但是怎麼確定這個第三者是公正的？那就會請到第三者的第三者...然後再請第三者的第三者第三者....
如此循環下去，稱為Certificate chain，最後一定會遇到一個root，就稱為root certificate。
這樣的作法會遇到一個問題，那就是有可能certification被revoke了。
所以再使用API作驗證的時候，通常會作 revokation checking。
API驗證的作法可以參考：
http://msdn2.microsoft.com/en-us/library/aa388208.aspx
另外，Platform SDK也有tool可以作驗證，</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/2917688437667997067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=2917688437667997067' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/2917688437667997067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/2917688437667997067'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/03/about-digital-signature.html' title='About digital signature'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-888614371182326391</id><published>2007-02-25T00:21:00.000+08:00</published><updated>2007-02-25T00:28:52.339+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Life'/><title type='text'>在BBS上看到大二時寫的舊文</title><summary type='text'>五年前的文章，真的很熱血。
作者: fruitfox (rock,baby !) 站內: P-fruitfox標題: [轉錄][通告] 給大家的一封信時間: 2005/08/04 Thu 15:11:36
※ 本文轉錄自 [fruitfox] 信箱
作者: fruitfox ()標題: [通告] 給大家的一封信時間: Thu Jun  6 00:35:19 2002
※ [通告] 共 3 人收件※ KETU BraveHeart mars93---------------------------------------------------------------------------
   恩,那就單刀直入吧
   各位覺得這次遊戲設計比賽能挑贏學長那一隊的機率是多少??
   我自己估了一下  [1m以目前的情勢來看[1m[0m  是沒有小於萬分之一
   </summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/888614371182326391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=888614371182326391' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/888614371182326391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/888614371182326391'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/02/bbs.html' title='在BBS上看到大二時寫的舊文'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-4180090643714624744</id><published>2007-02-09T15:27:00.000+08:00</published><updated>2007-04-30T09:38:51.577+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><title type='text'>Unicode使用123(續)</title><summary type='text'>因為上官大大的發問，我一時好奇就做了幾個實驗。
因為想說的有點多，所以另外開一篇文章。
關於使用"Unicode"中文，就用_T("這是中文")。

下面是我的實驗心得
(under Windows XP SP2, Visual Stdio 2005)

1.使用printf
這是一個很詭異的function
如果把string轉換成multibyte，printf不能正常印出
但是！!如果直接餵中文給他吃，卻可以正常的印出。

推測是因為呢 _T把bit order給重排了
而printf裡面的運作是以char為單位
所以呢...造成了這樣的現象
如果說用命令列引數傳給printf印也是正常印出
我懷疑在這過程中我給的中文引數被動了手腳...
恩恩 以上純屬推測XD

2.關於wprintf
原來C裡面的multibyte不一定是Unicode，有可能是任何的編碼方式
如果直接餵他吃</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/4180090643714624744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=4180090643714624744' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/4180090643714624744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/4180090643714624744'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/02/unicode123_09.html' title='Unicode使用123(續)'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2994017067235797430.post-7615372637549691019</id><published>2007-02-08T17:46:00.000+08:00</published><updated>2007-04-30T09:38:35.277+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><title type='text'>Unicode使用123</title><summary type='text'>記得碩一的時候為了處理中文路徑就已經survey過了

但是年代久遠又忘光了，這次就做個筆記吧！
(from Windows System Programming 3th)

Windows NT之後內部的系統都是用unicode在作處理(豆知識)
NTFS的file name與file path都是unicode編碼


在Windows 底下如果要寫可以同時處理Unicode(UTF-16)與ASCII(8-bits)字串的程式，
以下有 幾條guideline可以follow：

1.使用TCHAR、LPTSTR以及LPCTSTR
我們來看一下TCHAR的定義：
#ifdef UNICODE
#define TCHAR WCHAR
#else
#define TCHAR CHAR
#endif
很棒吧！
LPTSTR則是：
#ifdef UNICODE
typedef LPWSTR</summary><link rel='replies' type='application/atom+xml' href='http://fruitfoxlu.blogspot.com/feeds/7615372637549691019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2994017067235797430&amp;postID=7615372637549691019' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/7615372637549691019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2994017067235797430/posts/default/7615372637549691019'/><link rel='alternate' type='text/html' href='http://fruitfoxlu.blogspot.com/2007/02/unicode123.html' title='Unicode使用123'/><author><name>Royce Lu</name><uri>http://www.blogger.com/profile/10111109687261635410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
