GetDlgItemInt not working

This is a discussion on GetDlgItemInt not working within the C Programming forums, part of the General Programming Boards category; I have a Dialog window and on it I have an edit box. I want to retrieve the integer value ...

For future reference, "does not work" doesn't tell me anything at all. What exactly happens, or doesn't, as the case may be. Does it compile? Does it run? Does it crash? Does it give you a value you don't expect? What is "does not work"?