Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The OCX doesn’t register itself on a PC without Development Environmen

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am using Visual basic 6.00 to deploy an application that incorporates an OCX built with Visual C++ 6.0.

The setup wizard gets an error registering the ocx and of course the app fails when invoking it. On a PC that have VB6 installed it works OK. I tried regsvr32 but a loadlibrary error occurs (0x0000001f = 31 ERROR_GEN_FAILURE that means “A device attacched to the sistem is not functioning”).

The OCX developer said me that the OCX was built to have virtually not dependencies and he can't think of anything that might cause the OCX not to register.

It seems that one or more dll’s installed by VB are required for the registration, but looking on the Dependency walker (an utility of Visual Studio) all of the dll’s are present on the client pc. Upgrading them with the recents ones don’t match.

I looked into the microsoft support sites, but anithing help me on that.

Any hints ???

Thanks very much

Leandro Bil

Leandrobil@katamail.com
 
Last Day i asked to the Microsoft Support.

They told me that working on Windows today requires that who creates application on a specific environment that needs a particular basilar background (like Visual Studio 6.0 that need Explorer 5.0), must be sure of this same basilar background presence on the user machine.

I descovered that my application need to use the latest versions of the common controls with Window, and i need to have the latest version of Comctl32.dll installed. This can done in two ways: installing the latest version of internet explorer, or using the 50comupd.exe file to install the latest Comctl32.dll version, present at the following site: support.microsoft.com\support\kb\articles\q186\1\76.asp.

I notice that Visual Basic application setup wizard automatically take up all the needed dependencies while Visual C++ not. This means that everyone must search what it need for a good functioning of its application!

Leandro Bil

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top