Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Getting events from COM objects
Rizokuri last edited by
I don't know much about windows programming and I'm trying to get events from the InkCollector COM class ("http://msdn.microsoft.com/en-us/library/windows/desktop/ms695519(v=vs.85).aspx":http://msdn.microsoft.com/en-us/library/windows/desktop/ms695519.aspx)
I tried without going through Qt, but it seems like the events are blocked somewhere in Qt, so I tried by using QAxObject this way:
QAxObject *comObj = new QAxObject( QString::fromWCharArray(clsid), this );
connect( comObj, SIGNAL(MouseDown(InkMouseButton, InkShiftKeyModifierFlags, long, long, VARIANT_BOOL* )), handler, SLOT(MouseDown(InkMouseButton, InkShiftKeyModifierFlags, long, long ,VARIANT_BOOL *)) );
Unfortunately I get the error "No such signal QAxObject::MouseDown[...]" at runtime.
Is there something I'm missing here?