Converting Visual Basic Parallel Port App Using Inpout32.dll In To Delphi?Nov 23, 2011
I've been given this simple VB application and library which I'm told can open a door/turnstyle attached to the printer port at 0x378 base address.'Inp and Out declarations for port I/O using inpout32.dll.
Public Declare Function Inp Lib "inpout32.dll" Alias "Inp32" _
(ByVal PortAddress As Integer) _
how to declare the library functions and what to declare the variables as (&H378 is obviously not an integer)