I didn't look at the example u mentioned but i know this, the codes in MSDN are generally written for VC++ 2003, so u must implement the new changes in 2005.