参考文档
http://www.highrez.co.uk/Downloads/InpOut32/ //可以下载InpOutx64的驱动程序及DLL,还有驱动主板硬件IO的例程
https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=1639//运行.NET 2.0 (2005) Example code 例程需要安装.NET 2.0程序
InpOutx64与WinIO3.0区别
前段时间使用WinIO3.0
的DLL及驱动程序来访问电脑主板的硬件端口,但存在一个问题是在64位的Windows系统下微软已经要求驱动程序要有正式的数字签名,而WinIO3.0
没有正式数字签名,在Windows的64位系统下只能在进入“测试模式”或者“禁用驱动程序强制签名”后WinIO3.0才能运行,所以在Windows正常模式下就使用不了。剑锋大神已经找到有数字签名的驱动程序可以来驱动电脑硬件端口,即InpOutx64
具体使用请上面的参考文档下载,其实InpOutx64
的DLL和WinIO3.0
使用一样,同样提供库函数出来,去学会使用调用那些函数就可以。
InpOutx64的驱动程序及例程
驱动程序及例程下载目录:
InpOutx64的驱动程序InpOutx64.sys
在InpOutBinaries_1501
压缩包中的Win32
文件夹下,运行InstallDriver.exe
就可以安装好InpOutx64.sys
,要驱动硬件端口必须安装驱动程序,如下图所示:
使用.NET 2.0 (2005) Example code
里面的InpOut32.CSharp.Net
,此文件夹是只读的,需在文件属性下修改下,不然运行不了。
by 羊羊得亿
2017-05-22 ShenZhen