2

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 Answer 1

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

Sign up to request clarification or add additional context in comments.

4 Comments

I have read already. There something misunterstood. Do I have to wrap all objects and others (enums, interfaces etc.) with QAxObject like C# interop?
I saw this tutorial too. But accessing objects member with QAxObject* rows = sheet->querySubObject( "Rows" ); in this tutorial. I dont want this. Ex: Customer class defined in COM object, it have a property Name and an enum CustomerType . I want to use this class properly. May be I will use inheritance. Is this possible?
Once you create a QAxObject you can get its properties and interface by calling getDocumentation. doc.qt.nokia.com/latest/qaxbase.html#generateDocumentation You will see that you have access to all its membets. If you subclass it you can hide the accessing member functions you dont like

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.