BCB中使用Winio 在线等!!!
下面是WinIo帮助中写的WinIo在BCB中使用所要做的步骤,看得不太明白,还请高手指教:
1、Place winio.dll, winio.vxd and winio.sys in the directory where your application's executable file resides.
=〉这里所说的可执行文件是指BCB的可执行文件还是我写的程序的可执行文件呀?
2、Create a winio.lib file by running the IMPLIB utility that is bundled with C++ Builder.
=〉这里的winio.lib是可以用 cmd -> IMPLIB winio.lib winio.dll来生成吗?
3、Add the generated winio.lib to your project file.
=〉怎样将winio.lib 放到project 中? 直接复制粘贴??
4、Remove the WINIO_API constant from the function declarations in winio.h.
=〉我看见头文件中代码很受 如果删掉WINIO_API constant部分的话基本就没有什么代码了,是我下的文件不对?
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.
也许问的问题很傻,各位别见笑哈...呵呵!