vendredi 3 juillet 2020

Is it safe/possible to access virtual methods across a DLL boundary?

Is a virtual function table safe or even possible to access across a dll boundary?

Application and dll (compiled from elsewhere) know of BaseClass, but only dll knows of the additional SuperClass that overrides the virtual methods.

If the dll provides a pointer to SuperClass to the application, can the application safely accesses and perform the correct methods (I.E. will call the SuperClass overridden method)?

Aucun commentaire:

Enregistrer un commentaire