i'm trying to use the LPT port with c++ under Windows 7 and Visual Studio 2010
#include <conio.h>
int main()
{
_outp(0x378,00000000);
int input=_inp(0x278);
}
but i'm getting this error
"External component has thrown an exception."
So how to deal with this?