If you're using a DLL, then you know what you are doing with
VB. There are several freeware DLL's that hardware-write to the parallel port. I used one for a CNC coil-winding machine with
VB. The DLL I used is inpout.dll. Here are the declarations:
'Inp and Out declarations for direct port I/O in 32-bit Visual Basic programs.
Public Declare Function Inp Lib "inpout32.dll" Alias "Inp32" (ByVal PortAddress As Integer) As Integer
Public Declare Sub Out Lib "inpout32.dll" Alias "Out32" (ByVal PortAddress As Integer, ByVal Value As Integer)
This DLL is well-behaved and used quite a bit by
VB guys.
Swede