PDA

View Full Version : Communication with a QAxWidget



hgstoehr
17th January 2012, 00:14
Hi,

I am using an ActiveX Object (QAxWidget) in a Qt application. I have no troubles to apply "activeX->setProperty( " .....", value );" or " .... = activeX->property(" ....... ");" but I don't know to get more than one parameter from the ActiveX - Object.
In MS Visual C++ I would simply use a call like "void GetTrendWindow(long*Left, long*Top, long* Width, long*Height)", but how is it done with a QAxContainer?
I tried "queryInterface" and "dynamicCall" without success.

Is there anybody with good ideas?
Thank you,
hgstoehr