Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ttcomtester/teraterm/teraterm/commlib.c

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

revision 10593 by zmatsuo, Mon Feb 13 14:41:35 2023 UTC revision 10594 by zmatsuo, Mon Feb 13 14:41:44 2023 UTC
# Line 268  void CommResetSerial(PTTSet ts, PComVar Line 268  void CommResetSerial(PTTSet ts, PComVar
268    
269          if (SetCommState(cv->ComID, &dcb) == 0) {          if (SetCommState(cv->ComID, &dcb) == 0) {
270                  // 設定エラー                  // 設定エラー
271                    DWORD error = GetLastError();
272                    char msg[128];
273                    sprintf(msg, "SetCommState() error %d", error);
274                    MessageBox(cv->HWin, msg, "teraterm", MB_OK);
275                  assert(0);                  assert(0);
276          }          }
277  #if !defined(NDEBUG)  #if !defined(NDEBUG)

Legend:
Removed from v.10593  
changed lines
  Added in v.10594

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26