用winio操作并口过程中的疑问? - C++ Builder / Windows SDK/API
在WINIO帮助里看到步骤如下:
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.
Remove the WINIO_API constant from the function declarations in winio.h.
4:Add the "#include "winio.h " statement to your source file.
5:Call InitializeWinIo.
Call the library 's functions to access I/O ports and physical memory.
Call ShutdownWinIo.
按帮助进行过程遇到如下连接错误:[Linker Fatal Error] Fatal: Unable to open file 'SYSINIT.OBJ '
#pragma link "WinIo.lib "
和Add to project》WinIo.lib
应该没什么区别吧?
[解决办法]
http://www.cppfans.com/articles/system/prnport.asp
有详细使用说明及源代码去看看
[解决办法]
#pragma link "WinIo.lib "
和Add to project》WinIo.lib
没有区别
你的错与WINIO没关系,查你的项目的library path,是否含$(BCB)\lib\obj
查看$(BCB)\lib\obj下文件SYSINIT.OBJ是否存在