There are many issues with serial port programming especially as the programm hangs when you try to close port. Following links may help you to solve this problem. Please post sample code and comment if you find a solution.
- http://social.msdn.microsoft.com/forums/en-US/Vsexpressvcs/thread/ce8ce1a3-64ed-4f26-b9ad-e2ff1d3be0a5/
- http://blogs.msdn.com/b/bclteam/archive/2006/10/10/top-5-serialport-tips-_5b00_kim-hamilton_5d00_.aspx
- http://connect.microsoft.com/VisualStudio/feedback/details/202137/serialport-close-hangs-the-application#details
- http://zachsaw.blogspot.com/2010/07/net-serialport-woes.html
- http://www.daniweb.com/forums/thread289793.html
- http://www.c-sharpcorner.com/UploadFile/eclipsed4utoo/SerialPortCommunication12082008111137AM/SerialPortCommunication.aspx
- http://www.dreamincode.net/forums/topic/35775-serial-port-communication-in-c%23/
- www.robbayer.com/files/serial-win.pdf
{ 1 trackback }