WinAPI callbacks and GC
    evilrat 
    evilrat666 at gmail.com
       
    Wed Apr 24 05:44:45 PDT 2013
    
    
  
On Wednesday, 24 April 2013 at 09:51:29 UTC, Regan Heath wrote:
> Until then, I would perform manual memory allocation.  I am not 
> sure how in D, but you need something like "placement new" to 
> construct a class in a previously allocated block of memory 
> (allocated with malloc or similar).
look at "__gshared", might be useful for when one need to interop 
things with non D code.
http://dlang.org/attribute.html#gshared
    
    
More information about the Digitalmars-d-learn
mailing list