Am 02/09/2013 08:21, schrieb Kapps:
Anyone have any suggestions for this? Essentially trying to
figure out, given an object.Interface instance and an index
within it's vtbl property, how we can get the function pointer
for that method on a class that overrides the method. I assume
this is a better place to ask than the D.learn forum as it's more
of an ABI question than a question about learning D.

I stronlgy recommend that you read the casting routins insde the druntime. They basically contain all the information how to get to the object pointer from a interface.

This might also help:
http://3d.benjamin-thaut.de/?p=25#more-25

Kind Regards
Benjamin Thaut

Reply via email to