【发布时间】:2012-06-19 22:31:47
【问题描述】:
我正在尝试在 Windows 7 和 Visual Studio 2010 下将 LPT 端口与 c++ 一起使用
#include <conio.h>
int main()
{
_outp(0x378,00000000);
int input=_inp(0x278);
}
但是我收到了这个错误
"External component has thrown an exception."
那么如何处理呢?
【问题讨论】: