phidget21com runtime error 71 invalid class string

Legacy support with Phidget21
teamtwf8
Phidgetly
Posts: 34
Joined: Mon Sep 11, 2006 1:24 pm
Contact:

phidget21com runtime error 71 invalid class string

Postby teamtwf8 » Sat Oct 08, 2011 1:00 pm

Hi,

I finished my project so it is time to distribute it. :D
Use Install Creator to make a distribution file.
I let Install Creator put phidget21.dll and phidget21COM.dll in the system directory.
for phidget21com.dll I make the program it to be registered.
phidget21.dll does need to be registered.

When I run the install and reboot the PC I get an error.
See the picture.
I read through several FAQ's and forum pages about registering or not and where to be place the files but in my feeling I have done what I should do or................did I missed something? :(

This is on XP 32 bits machine and a W7 64 bits.

Any help in the right direction would be appriciated.

Thanks, Paco
Attachments
phidgeterror.JPG
phidgeterror.JPG (20.26 KiB) Viewed 4822 times

mphi
Phidgetly
Posts: 39
Joined: Tue Nov 16, 2010 4:27 pm
Contact:

Re: phidget21com runtime error 71 invalid class string

Postby mphi » Tue Oct 11, 2011 10:19 am

Hi,

You may need the phidget21.dll in the system32 folder.

You will also need to reference the Phidget21COM.dll in the Visual Basic IDE:
1. Project -> Components -> Controls
2. Project -> References

teamtwf8
Phidgetly
Posts: 34
Joined: Mon Sep 11, 2006 1:24 pm
Contact:

Re: phidget21com runtime error 71 invalid class string

Postby teamtwf8 » Tue Oct 11, 2011 11:36 am

Hi mphi,

I will put the phidget21com.dll in the system32 directory.

When I check the:
1. Project -> Components -> Controls
2. Project -> References

Both show the phdiget21 libary marked as used for the project.

Will let you know the result tomorrow.

mphi
Phidgetly
Posts: 39
Joined: Tue Nov 16, 2010 4:27 pm
Contact:

Re: phidget21com runtime error 71 invalid class string

Postby mphi » Tue Oct 11, 2011 12:37 pm

The Phidget21COM.dll is not needed in the system32 but the phidget21.dll is.

Moreover, you may need to deselect the phidget21, and reselect it.

Are you using the latest Phidget libraries?

teamtwf8
Phidgetly
Posts: 34
Joined: Mon Sep 11, 2006 1:24 pm
Contact:

Re: phidget21com runtime error 71 invalid class string

Postby teamtwf8 » Thu Oct 13, 2011 1:18 am

For what is looks now I got it working.
Tested only on a 32 bits Vista system

I use the latest libary dated 15-06-2011
Removed and installed again the components en refrences as per request.

I forced Install Creator to do
Phidget21.dll put in system32 directory
Phidget21COM.dll put in destination sub directory
Phidget21.lib put in destination sub directory

Thanks for the advise,

Paco


Return to “VB 6.0”

Who is online

Users browsing this forum: No registered users and 1 guest