JeffHung.Blog

(My smile insists of having nose. :-)

#ifndef BOOL

Building VIM7 on AIX

記錄一下在 AIX 上裝 vim7 的步驟…

Listing GCC predefined macros, on AIX

想要知道在 AIX 上,GCC 有沒有 predefine 一些 macro,好讓我針對 PowerPC/I386、Win32/FreeBSD/Linux/AIX 等不同平台,修改程式片段,以達到 cross-platform 的需求。可是,GCC 的官方文件這麼說…

事實證明一切?

沒有 peer review 的話,有些明顯的錯誤不一定會被抓出來;但即使有 peer review,某些明顯的錯誤,還是可能會不被承認。

GetEnvironmentStrings() 未遵照 generic-text-mapping 慣例

今天在寫 code 用到 GetEnvironmentStrings(),雖然處在 UNICODE 環境下,但我希望使用 ANSI 版本,所以依照 generic-text-mapping 的慣例,直接呼叫 GetEnvironmentStringsA(),沒想到卻怎麼樣也找不到 function declaration。

Consolas in Windows Console

蒙 othree 於 #happydesigner 開示,知道了怎樣在 Windows 的 console 視窗,也就是「命令提示字元」程式,使用 Consolas 這類漂亮的字形。

Non-standard behavior of (v)snprintf, on Visual C++

最近寫程式的時候,發現不同的 compiler,其 snprintf() 的行為不太一樣。

Boost 1.35.0 released

剛剛發現,boost 網站又改版了,而且也釋出了 boost 1.35.0 版。

Strange session management of windows remote desktop

我們有一台很強大的機器,目前正在狂抽猛送地測試我們的程式。好東西要和大家分享,所以同事和我,分別用 remote desktop 各開了一個 session 進去跑程式。然後詭異的事情發生了……

Remote debugging with Visual C++ 6

除了對 GUI 程式偵錯以外,有時候,像我這次一樣,必須對一台不能夠灌任何開發環境的電腦偵錯,這個時候,就需要用到 remote debugging。以下簡單整理一下,如何利用 Visual C++ 6 進行 remote debugging。

Pages: Prev 1 2 3 4 5 6 7 8 ...13 14 15 Next