2009年1月22日 星期四

define macro in xcode

ex:
configuration: Debug
gcc 4.0 processing-> preprocessor macros:   _DEBUG

combine c and c++ for apple driver

set build option:
gcc 4.0 language -->  compile source as -->  c++

2009年1月21日 星期三

info.plist for driver

IOMatchCategory:
set IODefaultMatchCategory to compare with other driver
the driver with higher probe score will win

2009年1月11日 星期日

IOLog

print message in the kernel

the message is stored at /var/log/system.log

2008年12月28日 星期日

hotspot shield

the software to watch american tv program (hide your real ip)

http://www.anchorfree.com/downloads/hotspot-shield/

connect to Hulu : have many tv programs
http://www.hulu.com/

2008年11月27日 星期四

java preference

show java information