views:

52

answers:

2

Why would an OCX or DLL file need to be unregistered then re-registered?

Why would this happen on machine on not others?

A: 

It is a false statement. Component registration (OCX or DLL) by Regsvr32 utility depends on how it has been implemented by developer of that component. Developer can skip registration code and then running Regsvr32 will have no effect. For example developer can create an installation msi package for that purpose.

In theory developer should provide valid code that will do proper registration and unregistration of the component. If that is done correctly, than there is no need to unregister component in order to register it. Sometimes registration could fail if there is broken dependancies, check Explanation of Regsvr32 usage and error messages for more information.

volody
A: 

if it changed location? if the registry were corrupted?

rogerdpack