Thanks for the information. Just restudied basic c++ casting. This is really helpful.