By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,127 Members | 1,222 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,127 IT Pros & Developers. It's quick & easy.

Shared memory and objects with virtual functions

P: n/a
Anyone knows why it is not possible (at least without a great deal of
"jiggery-pockery" behind the scenes), to store objects that contain
virtual functions in a shared memory block?

I think I know the answer - possibly something to do with unresolvable
function addresses when mapping from vf table to virtual address - but
this is an uneducated guess at best, on my part. It would be useful to
get a more experienced C++ programmers' view on this.

Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Ian
Alfonso Morra wrote:
Anyone knows why it is not possible (at least without a great deal of
"jiggery-pockery" behind the scenes), to store objects that contain
virtual functions in a shared memory block?
No.
I think I know the answer - possibly something to do with unresolvable
function addresses when mapping from vf table to virtual address - but
this is an uneducated guess at best, on my part. It would be useful to
get a more experienced C++ programmers' view on this.


Got it in one!

Ian
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.