I have just discovered this project and am looking to replace the DLPort drivers I currently use. However, I have been struggling with the DlPortWritePortUshort and DlPortReadPortUshort.
To cut a long story short, it seems that they have been incorrectly defined in the inpout32drv.cpp file used to generate the DLL. In the .h file they are defined as
Code: Select all
USHORT _stdcall DlPortReadPortUshort (USHORT port);
void _stdcall DlPortWritePortUshort(USHORT port, USHORT Value);
Code: Select all
USHORT DlPortReadPortUshort (USHORT port)
void DlPortWritePortUshort (USHORT port, USHORT Value)
For information, the DLPort DLL has all the functions as _stdcall
Thanks for the project
Paul