Page 1 of 1

Error: unable to load phidget21.dll

Posted: Wed Aug 31, 2022 7:15 am
by ChristerG
We have an application that uses phidgets for a voting system at a museum. The systems has been used for almost 10 years.
I have now installed this app on a new computer running Windows 10 Pro, but when I start the application I get the error:
Unable to load DLL 'phidget21.dll': the specific module could not be found.
ph1.PNG
ph1.PNG (13.07 KiB) Viewed 11276 times
The connected phidget is showing in the control panel:
ph3.PNG
ph3.PNG (60.36 KiB) Viewed 11276 times
and the phidget21.dll file seem to be installed:
ph2.PNG
(117.95 KiB) Not downloaded yet
Any help in fixing this issue would be much appreciated.

Re: Error: unable to load phidget21.dll

Posted: Wed Aug 31, 2022 1:37 pm
by Patrick
Try copying phidget21.dll and phidget21.net.dll into the same folder as your program - make sure you choose the right phidget21.dll (x86 or x64) depending on if your program is 32-bit or 64-bit.

I'm not sure why it isn't picking up on the installed library.

-Patrick

Re: Error: unable to load phidget21.dll

Posted: Thu Sep 01, 2022 6:41 am
by ChristerG
Hi Patrick

I tried your suggestion but with no success, I'm still getting the same error. The error message appears and has to be closed three times when the app is started. The app opens briefly and then closes. Do you have any other suggestions that I can try?
Don't know if it's of any importance, but the computer I'm using has an AMD Ryzen processor.
I've also done the exact same installation on another computer, and on this machine the app works.

Re: Error: unable to load phidget21.dll

Posted: Thu Sep 01, 2022 10:14 am
by Patrick
Open you program in Dependency Walker and see if there are any missing dependencies: http://www.dependencywalker.com/

It's odd that it's failing, but the control panel works fine. Could be a 32-bit issue.

-Patrick

Re: Error: unable to load phidget21.dll

Posted: Mon Oct 17, 2022 2:40 pm
by mcfet
we are running into same issue on Windows 10 pro. with 21 we get the missing DLL.
now I run a dependency checker on and I find that MSVCR100.DLL could not be resolved in windows/syswow64/phidget21.dll

stranger is the behavior of Phidget22Manager as it detects NO PHIDGETS