蓝狐的技术思考 BlueFox Thinking in Tech...
交流,分享,探讨技术...... Communication, Sharing, and Discussion about Technology.....

导航

 

2011年7月22日

摘要: If I use GC.SuppressFinalize(serialPort.BaseStream), it still doesn't work in my case. Although the serial port object is not disposed by GC, the serial port can't receive data yet.I find another way, and it works always!I write a endless loop to check and create a new serial port object if 阅读全文
posted @ 2011-07-22 10:56 蓝狐 阅读(3383) 评论(0) 推荐(0) 编辑