/[H7]/trunk/H7 Server/Serial.cpp
ViewVC logotype

Diff of /trunk/H7 Server/Serial.cpp

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

revision 27 by torben, Wed Jan 31 08:44:54 2007 UTC revision 28 by hedin, Wed Jan 31 12:42:51 2007 UTC
# Line 1  Line 1 
1  #include "StdAfx.h"  #include "StdAfx.h"
2    #include <iostream>
3    
4  #include "Serial.h"  #include "Serial.h"
5    
# Line 56  void CSerial::open(char* port, int bitra Line 57  void CSerial::open(char* port, int bitra
57    
58  void CSerial::open()  void CSerial::open()
59  {  {
60          mComport = CreateFile( mPortstr, GENERIC_READ|GENERIC_WRITE,0,0,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,0);          mComport = CreateFile( mPortstr,
61                                                                            GENERIC_READ|GENERIC_WRITE,
62                                                                            0,
63                                                                            0,
64                                                                            OPEN_EXISTING,
65                                                                            FILE_ATTRIBUTE_NORMAL,
66                                                                            0);
67    
68          if (mComport == INVALID_HANDLE_VALUE)          if (mComport == INVALID_HANDLE_VALUE)
69          {          {

Legend:
Removed from v.27  
changed lines
  Added in v.28

  ViewVC Help
Powered by ViewVC 1.1.20