Hi,
I'm using the following code to try to get a double variable from an edit box, but I keep getting an error: c2660
I'm using the following code to try to get a double variable from an edit box, but I keep getting an error: c2660
Code:
double x=0;
CString strx;
......
for(int i=0;i<K,i++)
{
::GetDlgItem(IDC_WELLRAD,strA);//Error c2660
x=atof((LPCTSTR)strx);
...
}
How can I fix this error, please? what is HWND hdlg??