pass a delegate to an API as a context pointer?

teo teo.ubuntu at yahoo.com
Tue Jul 3 00:23:16 PDT 2007


Russell Lewis Wrote:
> Your code below shouldn't work because void* is 4 bytes (a single 
> pointer) whereas a delegate is 8 bytes (two pointers).  But you can do this:

So, my only chance is if I wrap the delegate somehow. Thanks Russell.



More information about the Digitalmars-d mailing list