For my C++ DLLs, I am using the factory pattern with abstract interfaces.
In the disadvantages section of this article, it says:
An abstract interface method cannot return or accept a regular C++ object as a parameter. It has be either a built-in type (like int, double, char*, etc.) or another abstract interface. It is the same limitation as for COM interfaces.
Could you elaborate what this means? What exactly can I not do and why?
Is there any further reading available on this matter?