PDA

View Full Version : Calling COM object from QT



mrityunjay
27th October 2009, 05:25
Code for calling COM Method from QT

MainWindow w;
WebAxWidget *m_drop=new WebAxWidget(&w);
m_drop->setControl("{9E56BE60-C50F-11CF-9A2C-00A0C90A90CE}");
int val=0;
val=*(int *)a.activeWindow()->winId();
m_drop->dynamicCall("RegisterDropWindow(uint)",val);

We get following response while calling COM object method

QAxBase::dynamicCallHelper: Object does not support automation

Can any one tell the meaning of the response we are getting ?