如何使用API函数来实现串口通信 我曾经用过控件来实现对api不熟悉请高手多指教! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 控件已经很方便了 为什么要用api?首先要定义设备控制块DCB,然后是一堆控制DCB的函数,多麻烦啊 Private Declare Sub Outport Lib "Vbio32.dll" (ByVal portid%, ByVal nbyte%)Private Declare Sub OutportW Lib "Vbio32.dll" (ByVal portid%, ByVal nbyte%)Private Declare Function Inport Lib "Vbio32.dll" (ByVal portid%) As IntegerPrivate Declare Function InportW Lib "Vbio32.dll" (ByVal portid%) As Integer只是适用WIN98 对windows来说,串口也是一种文件,可以用API文件操作读写它。请参考VC等相关文档 强烈抗议星星跟裤叉抢特简单的问题!(散分帖) 如何将SQL里以RTF格式存放的文字直接插到word里,请指教 文件操作 如何向已存在的EXECL文件添回一行数据? 一个EXCEL单元格的编程问题,哪位高手进来解决一下? Winsock的发数据和收数据的机制是什么? 请问如何用mciSendString循环播放音乐? 如何解决循环后程序被卡的问题? 新手问题 请各位帮忙提供 PictureClip 控件的使用说明!!谢谢!! 用ListView控件如何实现分层的效果? 救命啊
多麻烦啊
Private Declare Sub OutportW Lib "Vbio32.dll" (ByVal portid%, ByVal nbyte%)
Private Declare Function Inport Lib "Vbio32.dll" (ByVal portid%) As Integer
Private Declare Function InportW Lib "Vbio32.dll" (ByVal portid%) As Integer
只是适用WIN98