Issue: I need to make an ActiveX control (in-proc-server) to use it with Borland Delphi 7.0 project.
Solution: My class Svr_3 inherits from QWidget and QAxBindable:
class Svr_3 : public QWidget, public QAxBindable
{
Q_OBJECT
public:
Svr_3(QWidget *parent = 0);
private:
Ui::Svr_3Class ui;
public slots:
int SomeMeth (const QString& aVal);
};
It works as in-place ActiveX control in IE8, MS Word. It repaints itself and executes SomeMeth () correct.
It DOESN’T work with Delphi. It draws in design-time incorrect, it isn’t visible in run-time. But it executes SomeMeth () correct.
How can I solve this problem?
Opensource QT 4.6.0, VS2005
Bookmarks