I have numbers taken from a textbox which are TCHAR. I need to use them in the form of integers in a calculation. Is there a function that does this? Thanks