--- trunk/H7 Server/ServerInit.cpp 2007/02/07 08:03:48 70 +++ trunk/H7 Server/ServerInit.cpp 2007/02/12 09:59:36 71 @@ -5,7 +5,6 @@ bool CH7ServerDlg::ServerInit(void) { /////////////// \\\\\\\\\\\\\\\*/ - unsigned int i; // Sets values in baud-rate combo box m_BaudRate.AddString("1200"); m_BaudRate.AddString("2400"); @@ -17,14 +16,15 @@ /////////////// \\\\\\\\\\\\\\\*/ // Checks how many COM ports there are. + unsigned int i; std::vector Serial = GetAvailableComPorts(); for (i=0; i