摘要: 1 // Comm.cpp : 定义控制台应用程序的入口点。 2 // 3 4 #include "stdafx.h" 5 #include <iostream> 6 #include <Windows.h> 7 using namespace std; 8 9 int _tmain(int argc, _TCHAR* argv[])10 {11 HANDLE hCom;12 char lpInBuffer[100];13 DWORD dwBytesMaxRead=100,dwBytesOfRead;14 static COMSTAT ComStat 阅读全文
posted @ 2012-02-23 22:14 soderman 阅读(261) 评论(0) 推荐(0) 编辑