结构整理,修改文件编码格式适配VS gb2312
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "stdafx.h"
|
||||
#include "../stdafx.h"
|
||||
|
||||
#include <process.h>
|
||||
|
||||
@@ -170,7 +170,7 @@ DWORD CPSerial::Open()
|
||||
if( SetCommMask( m_PortHandle, EV_RXCHAR | EV_TXEMPTY | EV_BREAK |
|
||||
EV_CTS | EV_DSR | EV_ERR | EV_RLSD ) )
|
||||
{
|
||||
// Initialise the Overlapping structures and start the
|
||||
// Initialize the Overlapping structures and start the
|
||||
// monitoring task
|
||||
m_ReceiveOLap.hEvent = CreateEvent( NULL, TRUE, FALSE, NULL );
|
||||
m_TransmitOLap.hEvent = CreateEvent( NULL, TRUE, FALSE, NULL );
|
||||
|
||||
Reference in New Issue
Block a user