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

Files needed to register Crystl32.ocx

Status
Not open for further replies.

Flupke

Programmer
Jun 26, 2002
94
BE
Which other files do I need to register properly Crystl32.ocx using Regserv32.exe?

Many thanks.

Michel
 
There's a FAQ here that contains (sorry, didn't have the link handy):

Why won't the OCX register?

The most common reason the Cryst32.ocx will not register is that it is missing one or more dependencies. To register the crystl32.ocx make sure the following dependencies are present on your machine, then the OCX will register.

crystl32.ocx Dependencies
ADVAPI32.DLL
COMCTL32.DLL
COMDLG32.DLL
CRPE32.DLL
GDI32.DLL
IMPLODE.DLL
MFC42.DLL
MSVCRT.DLL
MSVCRT20.DLL
OLE32.DLL
OLEAUT32.DLL
OLEDLG.DLL
OLEPRO32.DLL
USER32.DLL
VERSION.DLL

Please note: while all of these files need to be present in order to successfully register the OCX, some files are system files and should not be distributed.

Another item to check is that the version number of each dll on the client matches what is on your development machine (or at least matches what is on another client machine where the app does work). I recommend using EXTREME CAUTION when moving dlls between a machine with one OS to another with a different one. Regardless of the machines' OS, if you choose to copy dlls, please make sure to back up the old ones in case something goes awry.

Please note that although the crystl32.ocx file can reside anywhere on your machine (as it is a registered file), its dependencies must reside in the system path.

Finally, I would suggest downloading the Dependendency Walker utility from the following link to help troubleshoot your issue:


You can point this utility to Crystl32.ocx on the client machine to determine which of its dependencies the OCX is having issues with. Working files show up in green or cyan, while non-working files show up in yellow, orange, or red. I am sure that you will find this utility extremely helpful.

To manually register the OCX after you have ensured that all the dependencies are present, you will need to select Start | Run and type in something like this:

regsvr32.exe "C:\Windows\System\crystl32.ocx"

kai@informeddatadecisions.com
 
I found that machines running IE4 had all sorts of problems with registration. Upgrading to IE5 or better fixed a lot of these.

Now people are browsing with IE6 or better, that is becoming less of a problem. Editor and Publisher of Crystal Clear
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top