Previous Topic

Next Topic

Book Contents

Book Index

Registering AQT components to Windows

Normally, when AQT is installed, the components used by AQT are automatically registered to Windows. In some circumstances, this process will fail. When this happens, you will get a message such as:

Component xxx.ocx or one of its dependencies not correctly registered: a file is missing or invalid

This section describes how problems of this nature can be resolved.

Register AQT Components

When you get this error, you will generally be shown the Register AQT Components window. If not, you can open this windows by going Help > Register AQT Components to Windows from the Signon window.

This window shows you all the components used by AQT. For each of these you can:

Information on components is held in two different places in the Windows registry - LOCAL_MACHINE and CURRENT_USER. If you have Admin rights on your PC, the component information will be held in LOCA_MACHINE, if not it will be held in CURRENT_USER.

If you are having trouble with a component, it is recommended that you unregister the component then register it. When you unregister the component it will tidy up any existing entries - sometimes these prevent the register from working successfully.

Registering using regsvr32

An alternate way of registering the components is to use the regsvr32 command. A script is provided with AQT (ocx_register_v8.bat) for registering AQT's components using this command.

When you run a regsvr32 command, you will get a message such as:

DllRegisterServer in xxxx.ocx succeeded

Errors while running regsvr32

If you are unable to register the component, you will get an error code

When you register a component using the Register AQT Components window, AQT will give you a more meaningful description of the error than you get through regsvr32.