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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to register an OCX ????

Status
Not open for further replies.

Ologhai

Programmer
Apr 11, 2000
42
CA
hi,

If Someone know how to registerer an OCX,
answer me.

I make an installation kit with Wise installation builder
to distribute my application, all vb 6.0's ocx and dll is perfectly registered, but i use R&R Report Writer object in my application, and this OCX "rrw32.ocx" won't registered.

i tried everything.

if you have any IDEA answer me thanks

Hugues. ___________________________
Hugues Gauthier
Programmeur Analyste
Progitech
---------------------------
hugues_gauthier@hotmail.com
 
Have you tried to register the ocx manually with the Regsvr32.exe windows program?

Usage: RegSvr32 FullPathAndFileName

On error this program return a code; which code it returns?
 
Hi ,

the code is

RegSvr32 rrw32.ocx

LoadLibrary("rrw32.ocx") failed
GetLastError returns 0x00000485

I tried this before but i think RegSvr32 is just for DLL file ! you think ?

thanks to help me. ___________________________
Hugues Gauthier
Programmeur Analyste
Progitech
---------------------------
hugues_gauthier@hotmail.com
 
I found the same error 0x00000485 registring an ocx in windows 98 while on Windows 95 updating the comctl32.dll whith the last installation of internet explorer 5.0 the registration works.

I am waiting for an answer from the Microsoft support for this. I hope monday to know something more.

 
I install my kit on new PC with Windows ME and
on new PC with Windows 2k, that's work fine.

my next step is on new pc with windows 98.
i'll think that will work.

but on Windows 95 that isn't work.
i think windows 95 not support 32 bits application.
there are not system32 repertory on windows 95.

what you think about that ? ___________________________
Hugues Gauthier
Programmeur Analyste
Progitech
---------------------------
hugues_gauthier@hotmail.com
 
This is what i sent last day to the microsoft support:

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.

------------------------------------------------------------

The Microsoft support told me that some advanced OCX need to use the latest version of the Comctl32.dll (windows common controls). This can be installed in two ways: installing the latets version of internet explorer (starting from the 5.0a) as the preferred method, or using the 50comupd.exe file to install the Comctl32.dll (version 5.70.x.y) present at the following site: support.microsoft.com\support\kb\articles\q186\1\76.asp.

I tried it on windows 95 and it worked OK.

In windows 98 i have one notebook that return a 0x00000485 error. Microsoft today ask me to open a new incident because there is something that is not correctly working. Now i am working on that.

Leandro Bil


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top