文件名称:PCommDLLCSharp调用包
- 所属分类:
- 串口编程
- 资源属性:
- [Windows] [Visual.Net] [Basic/ASP] [源码]
- 上传时间:
- 2010-02-24
- 文件大小:
- 27.64kb
- 下载次数:
- 0次
- 提 供 者:
- wzwgeorge
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
C#程序静态调用Pcomm.dll的文件和Pcomm.dll 2.0
namespace NewPort
{
public class OperPComm
{
[DllImport("PComm.dll", EntryPoint = "sio_open")]
public static extern int sio_open(int port);
[DllImport("PComm.dll", EntryPoint = "sio_ioctl")]
public static extern int sio_ioctl(int port,int baud , int mode);
[DllImport("PComm.dll", EntryPoint = "sio_DTR")]
public static extern int sio_DTR (int port, int mode);
namespace NewPort
{
public class OperPComm
{
[DllImport("PComm.dll", EntryPoint = "sio_open")]
public static extern int sio_open(int port);
[DllImport("PComm.dll", EntryPoint = "sio_ioctl")]
public static extern int sio_ioctl(int port,int baud , int mode);
[DllImport("PComm.dll", EntryPoint = "sio_DTR")]
public static extern int sio_DTR (int port, int mode);
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : CSharpPComm.zip 列表 CSharpPComm/ CSharpPComm/OperPComm.cs CSharpPComm/PComm.dll