I have an old vb6 program that requires 32 bit Phidget21COM.dll computer with Windows 10. I ran the phidget installer but the program does not work. It throws an error that says "Automation Error. The specified module cannot be found."
I tried registering the dll manually, but i am getting an error. It says "The module "Phidget21COM.dll" failed to load. Inside c:\Program Files\Phidgets\x86 i ran the command C:\Windows\SysWOW64\regsvr32.exe Phidget21COM.dll.
Any idea on what i can do to get this dll to register?
This morning i fully reset the computer and installed phidgets. I just tried running couple of the compiled versions and it gives me
Run-time error 339.
Component 'Phidget21COM.dll' or one of its dependendies not correctly registered: a file is missing or invalid.
Edit: I used the Package and Deployment Wizard to create a dependency file. All the files that it lists are on the computer i am trying to run this program on.
If i take out all references to phidgets in the project and remove the reference to the phidget library the program runs.
Is it a problem with the COM library or the C library? - Does the phidget21 control panel run fine?
I used this: https://github.com/lucasg/Dependencies to have a look at dependencies of "C:\Program Files\Phidgets\x86\Phidget21COM.dll" - your system must be missing some dependency, or sub-dependency. I'm not sure how much more help I can be without being able to reproduce.
Figured it out! Thanks for the help. I used that same program to look at the dependencies.phidget21.dll a dll. I ended up installing Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package to get it to work.