comparison host/tools/testtool/win32/LocalPropertiesDialog.cpp @ 82:6736c52df507 ecos-sw-2000-04-14

Merge from eCos master repository on 2000-04-14-13:35:46-BST
author jlarmour
date Tue, 18 Apr 2000 21:51:55 +0000
parents 435cced73e2f
children 74dbf4c3f2e1
comparison
equal deleted inserted replaced
81:89fef2181d7d 82:6736c52df507
26 // 26 //
27 27
28 #include "stdafx.h" 28 #include "stdafx.h"
29 #include "TestToolRes.h" // main symbols 29 #include "TestToolRes.h" // main symbols
30 #include "LocalPropertiesDialog.h" 30 #include "LocalPropertiesDialog.h"
31 #include "eCosTestSocket.h" 31 #include "eCosSocket.h"
32 #ifdef _DEBUG 32 #ifdef _DEBUG
33 #define new DEBUG_NEW 33 #define new DEBUG_NEW
34 #undef THIS_FILE 34 #undef THIS_FILE
35 static char THIS_FILE[] = __FILE__; 35 static char THIS_FILE[] = __FILE__;
36 #endif 36 #endif
196 CloseHandle(handle); 196 CloseHandle(handle);
197 } else if (IDNO==MessageBox(_T("The currently selected serial port is not accessible. Use this setting anyway?"),NULL,MB_YESNO|MB_DEFBUTTON2)){ 197 } else if (IDNO==MessageBox(_T("The currently selected serial port is not accessible. Use this setting anyway?"),NULL,MB_YESNO|MB_DEFBUTTON2)){
198 return; 198 return;
199 } 199 }
200 200
201 if(!m_bSerial && !CeCosTestSocket::IsLegalHostPort(CeCosTestSocket::HostPort(m_strLocalTCPIPHost,m_nLocalTCPIPPort))){ 201 if(!m_bSerial && !CeCosSocket::IsLegalHostPort(CeCosSocket::HostPort(m_strLocalTCPIPHost,m_nLocalTCPIPPort))){
202 MessageBox(_T("Please provide a valid host/port combination for TCP/IP connection")); 202 MessageBox(_T("Please provide a valid host/port combination for TCP/IP connection"));
203 } else if (RESET_X10==m_nReset && m_strReset.IsEmpty()){ 203 } else if (RESET_X10==m_nReset && m_strReset.IsEmpty()){
204 MessageBox(_T("Please provide a valid reset string for X10 reset")); 204 MessageBox(_T("Please provide a valid reset string for X10 reset"));
205 } else { 205 } else {
206 CeCosDialog::OnOK(); 206 CeCosDialog::OnOK();