资 源 简 介
Function ulong OpenPort(ulong HWND,uint uMsg,ulong dwPort,ulong dwBaud,char byByteSize, char byParity, char byStopBits) Library "comIO.dll"
subroutine ClosePort(ulong dwHandle) Library "comIO.dll"
subroutine StopIO() Library "comIO.dll"
Function ulong ReadBuffer(ulong dwHandle,ref string pBuffer,ulong dwBufferLen) Library "comIO.dll"
Function ulong WriteBuffer(ulong dwHandle,ref string pBuffer,ulong dwBufferLen) Library "comIO.dll"
//wparam 数据字节长度
//lparam 端口句柄
email:zzp0809@hotmail.com
适合PB,VB,delphi,VFP任何win窗口程序;
下载者,应用者请来一份email。
-Function ulong OpenPort (ulong HWND, uint uMsg, ulong dwPort, ulong dwBaud, char byByteSize, char byParity, char byStopBits) Library " comIO.dll" subroutine ClosePort (ulong dwHandle) Library " comIO.dll" subroutine StopIO () Library " comIO . dll " Function ulong ReadBuffer (ulong dwHandle, ref string pBuffer, ulong dwBufferLen) Library" comIO.dll " Function ulong WriteBuffer (ulong dwH