Example of QT Widget as ActiveX that works!
Hi,
I have tried the ActiveX project from examples.
I tried with gcc: Gave compilation errors.
I tried express edition of VC++ 2008. It generated the DLL, even registers, but does not work in IE / Excel, although Excel shows up as ActiveX Control, but fails with "Class not registered" error.
Can Anybody give me a sample ActiveX DLL, HTML to run it and the source code?
Your help in the matter is greatly appreciated.
--
Regards,
ven.
Re: Example of QT Widget as ActiveX that works!
The ActiveX examples in the documentation are the examples you seek; they work and they even have source code.
It "does not work" is not a useful diagnostic. At the very least the Qt libraries used by your Qt-based control (QtCore, QtGui etc.) will have to be in the path used by IE/Excel/Word/whatever before you have a chance this will work. Download and run depends.exe against the ActiveX DLL to see what is missing.
Re: Example of QT Widget as ActiveX that works!
Thank You very much for your help! I had to put QtCored.dll and QtGuid4.dll in my path. Works like acharm.
Thanks again!
--
Regards,
ven.
Re: Example of QT Widget as ActiveX that works!
The part that is missing is deployment of a ActiveX control :" OpenSSL download and Microsoft site" has this information.
http://msdn.microsoft.com/en-us/libr...(v=vs.80).aspx