I got one posting from net, which talked about exactly the same question I raised earlier. Unfortunately, I couldn't access the answer since this website is charging $$ for it...;-((
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20761880.html