I am trying to bring user entered data in to my program using a windows IP control box.
I am using the following code from examples others have used but I get the error "cannot use four arguments" when I look it up on MSVN website it asks for four arguments. Any suggestions? Is there a better way to do this.
By any chance do you use MFC?
The SendMessage you posted is the Win Api method which requires 4 parameters.
MFC controls(CWnd) also have a SendMessage function which only takes 3 parameters.
I am starting to figure out that I have a class problem. If I try to use m_strIP1 which has been declared it tells me I need a class. Been doing a refresher on classes and declarations, it is slowly making more sense just need to put it all together.