I'm trying to get a number from an edit box and multiply it but it, but some numbers when multiplyed return letters, so far what people have suggested doesn't work so heres what i have tryied and the code thats returning the letters.
char buffer[25];
GetWindowText(ebox,buffer,25);
int temp = atoi(buffer) * 2;
itoa(temp,buffer,25);
sprintf("%d",buffer);
SetWindowText(ebox,buffer);