From what I've read here one can compare two pointers to member functions for equality. However the article seems to cover only the case of a single executable without DLLs involved.
Is it possible to check if two functions are equal with DLLs? Let's say we have
class DLL A { public: virtual bool aaa(); }; and have a variable in DLL
bool DLL (A::*dllpointer)() = &A::aaa; We also have a variable in executable
bool (A::*exepointer)() = &A::aaa; When I try to compare the two like that
if (dllpointer == exepointer) it works as if the two are not equal. Likely that's an expected behaviour, but I want to know if it's possible to overcome this limitation so that the comparison returns true