Error: unable to load phidget21.dll

Comments & issues
Post Reply
ChristerG
Fresh meat
Posts: 2
Joined: Wed Aug 31, 2022 6:10 am
Contact:

Error: unable to load phidget21.dll

Post 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 13791 times
The connected phidget is showing in the control panel:
ph3.PNG
ph3.PNG (60.36 KiB) Viewed 13791 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.
User avatar
Patrick
Lead Developer
Posts: 634
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Error: unable to load phidget21.dll

Post 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
ChristerG
Fresh meat
Posts: 2
Joined: Wed Aug 31, 2022 6:10 am
Contact:

Re: Error: unable to load phidget21.dll

Post 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.
User avatar
Patrick
Lead Developer
Posts: 634
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Error: unable to load phidget21.dll

Post 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
mcfet
Fresh meat
Posts: 1
Joined: Wed Oct 12, 2022 10:59 am
Contact:

Re: Error: unable to load phidget21.dll

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests