Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parallel Port Programming Windows XP

Status
Not open for further replies.

aviles73

Programmer
Jan 17, 2002
1
US
I have a problem with sending data to my parallel port in Windows XP only! The source code below works fine in any other version of windows.

Declare Sub vbOut Lib "WIN95IO.DLL" (ByVal nPort As Integer, ByVal nData As Integer)
Declare Sub vbOutw Lib "WIN95IO.DLL" (ByVal nPort As Integer, ByVal nData As Integer)
Declare Function vbInp Lib "WIN95IO.DLL" (ByVal nPort As Integer) As Integer
Declare Function vbInpw Lib "WIN95IO.DLL" (ByVal nPort As Integer) As Integer


Button1_click
vbOut 888, 0
End Sub

I know that "WIN95IO.DLL" is probably outdated but if so is there a different DLL for XP.

I also heard that Windows XP locks out parallel port access. Please anyone who can HELP!!! I have programs written already to control a robot I made but now all my port access is screwed.

THANKS,
Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top