2011年7月28日 星期四

大陸用詞對照

* 缺省=預設;例:缺省類型=預設類型;缺省值=預設值
* 對象=物件;
* 派生=衍生;例:派生類別=衍生類別;
* 接口=介面(Interface);
* 句柄=Handle值;

2011年7月20日 星期三

做事的方法

做事的方法就是在同一個問題,可以多問幾個為什麼。
或多個角度看同一個問題。

準時起床

  準時起床

為什麼早上起得來?因為昨晚早點睡。
為什麼可以早點睡?因為事情都做完了。
為什麼可以早點做完?因為知道要做些什麼。
為什麼可以知道要做些什麼?因為在知道要做什麼的時候有寫下來,並且有留下來,在不知道要做什麼的時候,還想的到要去哪裡找。
為什麼可以知道要去哪裡找?因為有養成物有定位的習慣。

2011年7月5日 星期二

Offset Type Description

Offset Type Description
-76 Pointer pointer to virtual method table (or nil)
-72 Pointer pointer to interface table (or nil)
-68 Pointer pointer to Automation information table (or nil)
-64 Pointer pointer to instance initialization table (or nil)
-60 Pointer pointer to type information table (or nil)
-56 Pointer pointer to field definition table (or nil)
-52 Pointer pointer to method definition table (or nil)
-48 Pointer pointer to dynamic method table (or nil)
-44 Pointer pointer to short string containing class name
-40 Cardinal instance size in bytes
-36 Pointer pointer to a pointer to ancestor class (or nil)
-32 Pointer pointer to entry point of SafecallException method (or nil)
-28 Pointer entry point of AfterConstruction method
-24 Pointer entry point of BeforeDestruction method
-20 Pointer entry point of Dispatch method
-16 Pointer entry point of DefaultHandler method
-12 Pointer entry point of NewInstance method
-8 Pointer entry point of FreeInstance method
-4 Pointer entry point of Destroy destructor
0 Pointer entry point of first user-defined virtual method
4 Pointer entry point of second user-defined virtual method