I try to embed ActiveQt sample into .NET form. The sample is QT_HOME\examples\activeqt\multiple (however the same situation is with any sample).

The sample builds fine and works in IE and ActiveX Control Test Container. However when dragging it to a form the following error occurs:

Failed to create component AxHost. The error message follows: 'System.Runtime.InteropServices.COMException (0x8002801D)': Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)) at
.... .NET stack trace follows.............

Applies both to VS2008 and VS2010. Qt 4.7.4 and Qt 4.8.1.

Does anyone knows how to resolve this issue? Thanks in advance.

Kind regards, Ivan