Parallel port interfacing DLL/OCX (WIN9X / WIN NT/2000/XP ) A
versatile Dynamic Link Library for parallel port interfacing.
Can be used on both WIN9X and WIN NT/2000/XP machines. It is
free and comes with source code
**********************
Option Strict Off
Option Explicit On
Module InpOut32_Declarations
'Inp and Out declarations for port I/O using inpout32.dll.
Public Declare Function Inp Lib "inpout32.dll" Alias "Inp32" (ByVal PortAddress As Short) As Short
Public Declare Sub Out Lib "inpout32.dll" Alias "Out32" (ByVal PortAddress As Short, ByVal Value As Short)
End Module
*****************************