各位高手:利用C#怎样进行串行端口通信呢,比如用COM1口连接单片机,应用什么器件,怎样编程实现?望指教!
解决方案 »
- c# -Windows Mobile下HttpWebRequest请求几次后死掉,不能再发出请求
- 求教,关于TabControll的问题
- 再次提问,怎么把一个已经存在的dataTable和数据库搭上关系?
- 基本控件的区别
- 哪个有 visual studio 2005 team suite 的英文版
- [简单问题]DataGrid排序问题.
- 关于Panel中的picturebox鼠标响应问题!!!
- 在Table中动态增加TextBox控件,取值有误!!急呀!!!在线等
- 求用c#获取文件security属性的代码
- 大家,有什么好一点的,用C#(VS。NET )进行实例开发的电子书下栽呀?
- 如何把ie集成到程序里??
- 初学C#,newFont = new Font(oldFont, oldFont.Style & ~FontStyle.Bold);一直没找到~是什么运算符
/*
* Author: Marcus Lorentzon, 2001
* [email protected]
*
* Freeware: Please do not remove this header
*
* File: SerialStream.cs
*
* Description: Implements a Stream for asynchronous
* transfers and COMM. Stream version.
*
* Version: 2.3
*
*/
using System.IO;
using System.Threading;
using System.Runtime.InteropServices;
using System.ComponentModel;#endregion Using
#region Attributes private IOCompletionCallback m_IOCompletionCallback;
private IntPtr m_hFile = IntPtr.Zero;
private string m_sPort;
private bool m_bRead;
private bool m_bWrite; #endregion Attributes
www.gjwtech.com
本人急需学习……
有的,请发至,[email protected]不胜感激!