
3 Dec
2008
3 Dec
'08
10:44 a.m.
vicente.botet skrev:
----- Original Message ----- From: "Thorsten Ottosen" <thorsten.ottosen@dezide.com>
I guess support for virtual functions is needed, except for the most trivial cases. So what does it mean exactly, that shared memory does not support virtual functions? Can I never call a virtual function on an object if that object's memory is shared? (In which case I'm a bit puzzled :-))
The address of the virtual table depends on the process, so can not be shared. As consequence we can not have virtual function on objects stored on shared memory.
Thanks. This pretty much makes it irrelevant for me to support shared memory then. best regards -Thorsten