Hi,
I'm trying to make a routine gathering data from USB HID using a well known routine from internet originally made by by J.W. Beunders, the HID interfaces using a dll file HIDControl.dll and its testprogram runs perfectly in Delphi, when I try to make my own version it compiles well in Lazarus, but get following error when it tries to run:
The code execution cannot proceed because HIDcontrol.dll was not found.Reinstalling the program may fix this problem.
How to fix this? I am running the 64 bit version of Lazarus, but the HID.dll is found both in system 32 and system 64. Has this anything to do with Lazarus does not see this directory? See atachment, the routine is correctly called from an other unit.
tormods