WCHAR temp[50];
int nSel = ((CComboBox*)GetDlgItem(IDC_COMBO_IP))->GetCurSel();
if(nSel==CB_ERR)
return;
((CComboBox*)GetDlgItem(IDC_COMBO_IP))->GetLBText(nSel,temp);
USES_CONVERSION;
char *mytemp = W2A(temp);
WCHAR temp[50];
int nSel = ((CComboBox*)GetDlgItem(IDC_COMBO_IP))->GetCurSel();
if(nSel==CB_ERR)
return;
((CComboBox*)GetDlgItem(IDC_COMBO_IP))->GetLBText(nSel,temp);
USES_CONVERSION;
char *mytemp = W2A(temp);