I have an ActiveX control (written in C ++) and refer to its RCW builds (created by aximp.exe) from a C # project.
In C ++ code that implements the Ax control, I have a class that implements an interface that displays as a property of the Ax control.
Looking at the created RCW builds, I can see the interface. And I can try to declare a variable of my type.
Now, if I only have a pointer to an instance of a C ++ class that implements an in-memory interface, can it be marshaled into a C # managed object representing the interface using this pointer?
Please note that this is not an interface pointer. This is a pointer to an instance of the class that I have.
source
share