导航

2009年8月10日

摘要: 在c#中可以很方便的实现:[代码]下面为转载的其他网站的方法,代码使用C++编写:第一个思路应该是用建立串口的方式来取得串口名,若建立失败,则此串口不存在void GetComList() { CString strCom; int nCom = 0; int count = 0; HANDLE hCom; do { nCom++; strCom.Format("COM%d", nCom); h... 阅读全文

posted @ 2009-08-10 13:35 ccjvl 阅读(1852) 评论(0) 推荐(1) 编辑