Citation:
How to use my port of InpOut32:
The original distribution of InpOut32 comes with various samples. Most of these samples still apply...
The VB6 sample provided with the original Logix4U distribution should work in exactly the same way. VB6 is 32bit ONLY and you should always use my InpOut32.dll.
The C++ example should also work, but I have also got a modified version here that you may want to look at. You also have to ensure you link to the correct DLL, InpOut32.dll for a 32bit EXE and InpOutx64.dll for a native x64 EXE.
Note:
My version of InpOut32.dll (and InpOutx64.dll) exports more functions that the original. The original only exports Inp32() and Out32().
This x64 bit compatible version exports the following functions (look in InpOut32.h for the complete definitions and types):
Inp32()
Out32()
IsInpOutDriverOpen()
DlPortReadPortUchar()
DlPortWritePortUchar()