Project2
This is a test program for the WinUSB driver (and Delcom driver) written in Delphi7. It neither reads nor writes to the registry, and has no effect on IR.exe. It does provide error messages when something fails.
In the upper right are radio buttons. Testers using the WinUSB driver should select the top radio button. I hope that someone who has the ordinary Delcom driver running will try this program, so that we can verify that it works correctly with the regular driver. In that case, select the Delcom radio button. The FTDI button is for my use. I don't have any Delcom hardware, so I use the FTDI driver as a proxy during testing.
Please check operation using both CTRL CODEs.
Start by clicking Find Delcom (having made sure to select the correct Driver radio button). This should display a string which is similar to "\\?\usb#vid_0fc5&pid_1222#5&26769126&0&3#{cafa8e93-7c32-4c27-b088-d8c36aaf4ebf}". If it fails to find the Delcom interface, the display should show "cafa8e93-7c32-4c27-b088-d8c36aaf4ebf not found". If it isn't found, try removing and then re-inserting the Delcom interface. For reference, if the Delcom original driver is used, the Guid is {b5157d69-75f8-11d3-8ce0-00207815e611}.
Then click on Open Device, followed by Read From 0, and finally Close Device.
If this reads back the first 256 bytes of the EEPROM, great! More likely, there will be errors. Please note the error number, and the routine in which the error occurred. The program shows a Windows-generated explanation of the error, but the error number is sufficient.