Some asm help for the 'thiscall' calling convention?

Simon s.d.hammett at gmail.com
Sun Apr 24 06:37:41 PDT 2011


On 24/04/2011 03:25, Andrej Mitrovic wrote:
> And by calling IASIO.controlPanel(), I mean calling it on the instance.
>
> E.g.:
> class Foo
> {
>      IASIO bar; // can call bar.controlPanel();
> }

Not sure how D handles interfaces. If bar is implicitly a pointer
then the bit where you do:

  void *this_ = &that_;

means you are loading a pointer to a pointer. Try losing the &

-- 
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk


More information about the Digitalmars-d-learn mailing list