Discussion Locked

crystl32.ocx is unable to register!

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have developed a "Clinic Management software" using VB 6.0 Enterprise Edition , Crystal Seagate reports v4.0 & for distribution purposes i am using Setup Factory 5x ( Latest updated version ).
After building using runtime environment of VB , Crystal reports & MS DAO along with the MS jet engine & after deployment of the final .exe i get the error " Unable to register CRYSTL32.OCX " & the user comes out of the application.
During the build up process all the ActiveX/OCX files are offered a path in the C:\windows\system folder(default),whereas the remaining files are emptied into the App\Directory on the client machine.
Need help sos with complete instructions of setup ( even using another free installation kit for deployment )..however Setup Factory is my preference as i have bought it :-).
Please help me as this is a very crucial application as it serves the Healthcare Industry for free!

3 replies

by peter ritchie

There's a handly utility called "depends.exe" that shows the dependencies of an executable file. Load crystl32.ocx into depends and make sure all the DLLs it depends upon are being registered BEFORE crystl32.ocx.

It can be extremely time-consuming sometimes; but works well without spending $ on another installation package.

Depends.exe is installed as part of Visual Studio (at least the Visual C++ aspect of it) or can be found on msdn.microsoft.com.

This discussion is closed to new replies.