Problem about building ActiveX Server in Qt, register failed.
-
I got the code of bouncer which in "C++ GUI Programming with Qt 4", I can complie it but while register the dll with command line "regsvr32 bouncer.dll", it shows that some error that DllRegisterServer fail, and error code 0x80040200, do you know why? And one more question, does Qt open source version support QAxServer?
PS. I use Qt SDK 4.7.3.
-
Thank you, Gerolf.
But I can't image how to register the activex dll, can you send me some information to read?
I want to know:
- How to create a Qt ActiveX project?
- How to register the Qt complied ActiveX DLL?
- What DLLs should be used together with Qt complied ActiveX?
-
additional question... if the dll has been successfully registered with command regsvr32.exe but the server is not running.
what could be the reason?I'm using Qt5.2.0, IE 11 (with enabled execution of ActiveX objects), Win7.
I have another one close issue - I use Qt add-on for MS VS 2012 and an example from Blancshet's book Qt4.5 GUI is not built if I leave QAxAggregated *AxBouncer::createAggregate() in the project, some strange errors appears:
c:\qt\qt5.2.0\5.2.0\msvc2012_64\include\qtwidgets\qwidget.h(741):
error C2908: explicit specialization;
'T qobject_cast<QWidget*>(QObject *)' has already been instantiatedhow to make it work? (atm, I throw away this security interface).
-
Hi and welcome to devnet,
Please don't reopen such an old thread with new questions, open a new thread or even several if you have multiple questions.