关于并口通讯的问题

todzy 2005-04-15 11:35:57
在windows xp 系统中无法直接调用并口,用于两个电脑之间的通讯,有没bcb的控件能实现此过程,还有并口通讯的资料比较少,有没有关于此方面的资料能提供一下。
不胜感激
...全文
145 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
icwin 2005-04-15
  • 打赏
  • 举报
回复
winIO
noock 2005-04-15
  • 打赏
  • 举报
回复
有一个控件叫winIO,可能是DLL,本人没用过,调用 它里面封装的函数就可以直接对商口进行操作
todzy 2005-04-15
  • 打赏
  • 举报
回复
谢谢楼上的各位,非常感谢
能否在提供一些bcb编写并口通讯的资料,我实在是找不着了。
andanyueguang 2005-04-15
  • 打赏
  • 举报
回复

Using WinIo in a C++ Builder application
In order to use WinIo in a C++ Builder application, you should take the following steps:

1。Place winio.dll, winio.vxd and winio.sys in the directory where your application's executable file resides.
2。Create a winio.lib file by running the IMPLIB utility that is bundled with C++ Builder.
3。Add the generated winio.lib to your project file.
4。Remove the WINIO_API constant from the function declarations in winio.h.
5。Add the "#include "winio.h" statement to your source file.
6。Call InitializeWinIo.
7。Call the library's functions to access I/O ports and physical memory.
8。Call ShutdownWinIo.

为了能够在BCB下使用WINIO,您必须完成发下步骤
1。将winio.dll, winio.vxd 和 winio.sys复制到你的可执行文件所在目录,
2.用BCB自带的IMPLIB创建一个winio.lib文件。
3.现在将生成的winio.lib文件加到你的工程里来。
4.去掉winio.h文件里所有WINIO_API字符。
5.在你的源文件里加入#include "winio.h"以包含winio的头文件。
6.调用InitializeWinIo()函数启动winio.
7.现在可以调用winio提供的函数进行i/o内存访问。
8.用完请调用ShutdownWinIo()关闭winio
todzy 2005-04-15
  • 打赏
  • 举报
回复
用bcb怎样调用,清说清楚一些。谢谢

1,317

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder 网络及通讯开发
社区管理员
  • 网络及通讯开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧