Dear All,
i have one program which can get the input of parallel port and display the value on window.
But StatusAddress (0x378) default value is 4 (100), so pin 3 always shows "1" even i connect it to ground, how can solve it?Code:void CProjDlg::OnCalculte()
{
unsigned StatusAddress=0x378;
int StatusPort;
StatusPort=_inp(StatusAddress);
m_value=StatusPort;
UpdateData(0);
}
Thank you.
