SetPort failed

Support for the Milan Intelligent interface, sold by Money Controls as the Paylink USB unit and for the earlier PCI card version.

Moderators: aardvark, davebush, Admin

Post Reply
DerekC
Posts: 2
Joined: Tue Oct 21, 2014 7:34 pm

SetPort failed

Post by DerekC »

Hi,

Suddenly the Paylink driver program will no longer access the Paylink device.

At the time that it is trying to open the USB link it outputs the error message:
SetPort failed
and closes the port.

This is running on Windows 7 - 64 bit.

Derek
davebush
Posts: 482
Joined: Fri Oct 22, 2004 12:20 pm

Re: SetPort failed

Post by davebush »

Hi,

Strange. Do you know if anything else happened on the system at about the same time.

Paylink uses the FTDI chip, do you have any other FTDI devices (or USB Serial ports) on the system?

Dave
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
DerekC
Posts: 2
Joined: Tue Oct 21, 2014 7:34 pm

Re: SetPort failed

Post by DerekC »

Hi Dave,

I added a serial converter to the system just before the problem - checking the device it's got an FTDI device, with driver dated 26/08/14 with Version 2.12.0.0

The Paylink driver is from Money Controls version 2.8.2.0

Derek
davebush
Posts: 482
Joined: Fri Oct 22, 2004 12:20 pm

Re: SetPort failed

Post by davebush »

Hi Derek,

Found it.

Although the chips are the same, the driver file for Paylink (which is the FTDI one renamed) is kept separate from the driver file for general FTDI devices.

However... when either Paylink or a general FTDI device install their drivers they also install a DLL, which has the same name and location for both and so the DLLs overwrite each other - which normally doesn't really matter.

Unfortunately one of the parameters to a call in this DLL has the value 0 for normal or 2 for unusual. The Paylink driver program has been using 1 for this for the last 10 years, but the newest DLL has just decided that values has to be 0 or 2 or the call fails!

Depending on whether you're running a 4.1.12.6 system, 1.1.12.7 or one of the older releases, you can download a fixed driver program from:
http://aesoffice.eu.com/HTTPSpace/Payli ... -12-62.zip,
http://aesoffice.eu.com/HTTPSpace/Payli ... 1-12-7.zip,
http://aesoffice.eu.com/HTTPSpace/Payli ... Driver.zip or
http://aesoffice.eu.com/HTTPSpace/Payli ... Driver.zip.

Dave
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Post Reply