T
Tom
I have some virtual member functions like this:
struct IBlah {
virtual void f1() = 0;
virtual void f2() = 0;
}
I want to get a run-time identifier for one of these functions that I can persist (or send to a different process). I guess this is like what RPC does, in that it passes an ID of an interface function to a different process.
I think I remember that pointers to virtual member functions are actually just the offsets from the vtable. If so, then perhaps I could use those values?
Thanks,
Tom.
struct IBlah {
virtual void f1() = 0;
virtual void f2() = 0;
}
I want to get a run-time identifier for one of these functions that I can persist (or send to a different process). I guess this is like what RPC does, in that it passes an ID of an interface function to a different process.
I think I remember that pointers to virtual member functions are actually just the offsets from the vtable. If so, then perhaps I could use those values?
Thanks,
Tom.