Load the object from dll
There is a dll which I need to use.
I have an interface looks like this:
- [ object, uuid("00000000-0000-0000-0000-000000000000") ]
- __interface Interface
- virtual bool Init(void) = 0;
- virtual bool Destroy(void) = 0;
- virtual bool Test(void) = 0;
There is a function in the dll, which gives a pointer to object of class with implements of that interface.
I can load the dll using QLibrary, and I can resolve this function, and call it. But how to declare the interface in the right way using
QT Qt? And how to call the methods of given object?