What about the code does not work? We have shipped many units running this code??
Have you actually compiled and ran it?