Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2341551
  • 博文数量: 816
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 5010
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-17 17:57
文章分类

全部博文(816)

文章存档

2011年(1)

2008年(815)

分类:

2008-12-17 18:06:23

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) |
给主人留下些什么吧!~~