Tuesday, August 28, 2012

Fixing Run-time error '339'. Component Crystl32.ocx or one of its dependencies not correctly registered:

I came accross these messages during the installation of R.O.M.E an estimator of emvironmental impacts of chemical pollutants and the human exposure to them,

Run-time error '339'. Component Crystl32.ocx or one of its dependencies not correctly registered:
or
ordinal 1010 could not be located in the dynamic link library CRPE32.dll
(or in Greek το τακτικό 1010 δεν μπορεί να βρεθεί στην δυναμική βιβλιοθήκη CRPE32.dll)

Generally, the problem is encountered during the installation of old VB Visual Basic applications that they use outdated OCX controls and DLLs.
Now, you must have both CRYSTL32.OCX and CRPE32.DLL installed in yoursystems directory otherwise you can spend a  few hours trying to fix the registry... thing that I don't recomment unless you are in love and you try to forget or you want to mess up things on your system a lot more, or both.
So, this is the Solution

Step 1. Download the latest version files
CRYSTL32.OCX from
http://www.ocxdump.com/download-ocx-files_new.php/ocxfiles/C/Crystl32.ocx/6.1.0.000/download.html
and CRP32.DLL
http://www.dll-files.com/dllindex/dll-files.shtml?crpe32

Step 2. Check if these files already exist and if they are registered (this step can be skipped)
Windows Start->Run->regedit <OK>
You go to the node HKEY_LOCAL_MACHINE-SOFTWARE <Ctrl-F> and look for CRYSTL32.OCX and CRPE32.DLL
If they have keys then they are registered and after the step 3 maybe you don't need to regsiter them again
Close the regedit application!

Step 3.unzip them and copy them to
C:\WINDOWS\SYSTEM32\ (if you are an XP user)
C:\WINNT\SYSTEM32\ (if you have Windows 2003 or servers )

Step 4.
Reboot

Step 5
Check your application and if anything goes wrong  the follow the Dll and OCX registration process

Step 6
First of all : Be sure you have Admin rights over your machine ( yes, its like the rights to the heart of your sweetheart... If you don't have them don't try it's hopeless...)
Windows Start->Run->CMD <OK>
In the command line window write the following
CD C:\Windows\System32<ENTER>                       (for Windows XP)
regsvr32 CRPE32.DLL <ENTER>
regsvr32 CRYSTL32.OCX <ENTER>
Close all applications and reboot

This is the general solution to the Dlls and OCX mesh and misconfigurations that software installations can cause by overlapping DLLs and OCXs... And it must definitely works...

Try your application It must be fixed or if don't check your admins rights or if you can't do it anyway and you are desperate you can contact me via email to advise you, (yeah, even on your love problem).

4 comments:

Elan said...

Fixed the error in 2 min... Thnks for the post...

Anonymous said...

compatiblilty error appears everytime I do.... please help

Anonymous said...

waa makasi yaa,,meskipun belum dicoba,,tapi kayaknya bisa deh hihihih..i said thank you very much for your kindhearted :)

Unknown said...

Hey when i was facing runtime error code 339 on my system, i was really very shocked and think how to fix runtime error code 339 but thanks to site. It help me lot for the easily fixing of this error.