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
第2条是怎么实现的,还有第4条,我不知道你的硬盘检测程序中是怎么把WINIO.H装入Project的,谢谢指教
--------------------next---------------------
阅读(1113) | 评论(0) | 转发(0) |