[Interest] embed any ActiveQt example into IE webpage

Sergey sh0375 at gmail.com
Wed Mar 7 14:21:23 CET 2012


Hi, list

I'm trying to write sample ActiveX on QT and embed it into html webpage 
for IE.
I have created in Visual Studio 2005: File-New-Project-Qt4 
Projects-ActiveQT server
Built project. Got dll. Added path with QT dlls to system path variable.
called
regsvr32 tetrix.dll

created html page:
<html>
<body>
<OBJECT ID="QTetrix" width="550" height="370"
         CLASSID="CLSID:1DDD955F-4E4E-4BE2-A24E-995D311183E1">
</OBJECT>
</body>
</html>

CLASSID I've got from this line:
QAXFACTORY_DEFAULT(QTetrix,
        "{1DDD955F-4E4E-4BE2-A24E-995D311183E1}",
        "{6DDED92D-A9AD-4076-B1B8-EC1778E58620}",
        "{D747F84D-1BAE-4CBB-AA9A-4E98EBA24A45}",
        "{DA822482-EAD9-420A-8569-9E003846CEC5}",
        "{21B27F64-7765-4220-8855-5F56A0AE2556}")

When I open page in IE, it asks for prompt to launch ActiveX. I select yes.
IE displays area, which looks like image, which browser could not 
download - empty area with red cross in the left-upper corner.

How to find reason, why it is not displaying QT widget? Is there some 
log of IE interaction with ActiveX?

Is there some ready QT ActiveX example with instructions, which would 
allow to display it in IE?

--
Thanks



More information about the Interest mailing list