/[H9]/trunk/FlisServer/FlisServerDlg.cpp
ViewVC logotype

Diff of /trunk/FlisServer/FlisServerDlg.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 296 by kevin, Tue Dec 11 12:15:27 2007 UTC revision 297 by torben, Mon Dec 17 15:05:06 2007 UTC
# Line 177  int CFlisServerDlg::StartSerial(void) Line 177  int CFlisServerDlg::StartSerial(void)
177                          Serial.close();                          Serial.close();
178                          Serial.open( config.comport, Baud );                          Serial.open( config.comport, Baud );
179                  }                  }
180                  catch (exception* e)                  catch (...)
181                  {                  {
182                          MessageBox( "Serial.open() exception" );                          MessageBox( "Serial.open() exception" );
183                          return 0;                          return 0;
# Line 189  int CFlisServerDlg::StartSerial(void) Line 189  int CFlisServerDlg::StartSerial(void)
189                  {                  {
190                          Serial.open( config.comport, Baud );                          Serial.open( config.comport, Baud );
191                  }                  }
192                  catch (exception* e)                  catch (...)
193                  {                  {
194                          MessageBox( "Serial.open() exception 2" );                          MessageBox( "Serial.open() exception 2" );
195                          return 0;                          return 0;
# Line 644  void CFlisServerDlg::MyMainThread() Line 644  void CFlisServerDlg::MyMainThread()
644                                          {                                          {
645                                                  data.push_back(smscount[i]);                                                  data.push_back(smscount[i]);
646                                          }                                          }
                                         AppendText(CString(&data[0]));  
647                                          writeFrame(data);                                          writeFrame(data);
648    
649                                            data.push_back(0); //Zero terminate the string befor pasting it to logwindows
650                                            AppendText(CString(&data[0]));
651                                          Sleep(200);                                          Sleep(200);
652                                          ReadSms();                                          ReadSms();
653    

Legend:
Removed from v.296  
changed lines
  Added in v.297

  ViewVC Help
Powered by ViewVC 1.1.20