PB串口通讯源码-API

时间:2014-08-24 06:17:51
【文件属性】:
文件名称:PB串口通讯源码-API
文件大小:19KB
文件格式:RAR
更新时间:2014-08-24 06:17:51
PB 串口 API PB串口通讯源码-API 利用api实现 Function Boolean CloseHandle(ulong hObject ) Library "kernel32.dll" FUNCTION boolean ReadFile(ulong fhand, ref string lpbuffer, ulong numbyte, ref ulong bytesread, ulong lpover) LIBRARY "kernel32.dll" FUNCTION ulong CreateFileA(ref string fname, ulong f_access, ulong f_share, ulong f_sec, ulong f_create, ulong f_flag, ulong f_attrib) LIBRARY "kernel32.dll" Function Boolean WriteFile(uLong handle,ref string lpbuffer,ulong numbytes, ref ulong bytesread, ulong lpOverLaped) Library "Kernel32.dll" Function Boolean GetCommProperties(ulong hFile,ref COMMPROP lpCommProp ) Library "Kernel32.dll" Function Boolean BuildCommDCBA(ref string lpDef,ref DCB lpDCB ) Library "Kernel32.dll" Function Boolean SetCommState(ulong hCommDev,ref DCB lpdcb ) Library "Kernel32.dll" Function Boolean GetCommState(ulong hCommDev,ref DCB lpdcb ) Library "Kernel32.dll" Function ulong GetLastError() Library "Kernel32.dll" Function Boolean SetCommTimeouts(ulong hCommDev, ref COMMTIMEOUTS lpctmo ) Library "Kernel32.dll" Function Boolean PurgeComm(ulong hCommDev, ulong fdwAction ) Library "Kernel32.dll"
【文件预览】:
pbcomm.pbt
GRNLIGHT.ICO
pbcomm.pbl
REDLIGHT.ICO

网友评论

  • 一般,需升级下PB12.5
  • 正是我想要的东西,满分
  • 很棒,pb9可以使用
  • 下载了,还没使用,明天测试下看是否可以
  • 感谢分享。找时间测试一下!
  • 很好,就是10以上不好用,谁能告诉我怎么回事
  • 还可以.有一定参考价值
  • 还可以,但没有我想要的功能.
  • 正好要开发类似的功能,又下载了一次,太棒了
  • 在PB12.5环境下,发送16进制数,小于128的可以正确发送,大于128的就会出错
  • 能用~很不错,谢谢了!
  • 下來了,在PB10中不能運行。研究中。。。。