Qt using shared COM Object

2019-08-14 07:15发布

问题:

I have an shared dll file (COM, registered with regsvr32.exe) written by (I think with delphi) 3rd party company. But I havent .lib or any header file about this library. This library have a few objects, interfaces and functions. I can't find how to use exported objects, interfaces and functions on internet. Can anybody explain this with example? I can use this library with c# with success.

EDIT:

I think, I must use this http://doc.qt.nokia.com/4.7/activeqt-dumpcpp.html

回答1:

Check the QAxContainer classes.

The QAxContainer module is a Windows-only extension for accessing ActiveX controls and COM objects.

Also check the Using ActiveX Controls and COM in Qt page from the Qt documentation



标签: qt dll com