
4 Dec
2008
4 Dec
'08
5:59 p.m.
Thorsten Ottosen wrote:
Thanks. Does that mean I can't even use function pointers in shared memory? That is, I can't even create my own manual vtable scheme:
No, you can't. The address of a function is determined by the linker/loader so there is no valid address for several processes. The only way to do something similar would be to have all the possible functions in all processes, have a map/table for each process and an index that would be used to go to the table and call the address of the current process. Regards, Ion