Status D dynamic libs?

Walter Bright newshound1 at digitalmars.com
Sat Apr 19 20:00:29 PDT 2008


Frank Benoit wrote:
> Walter Bright schrieb:
>> Frank Benoit wrote:
>>> - Why isn't it possible to call "new MyClass" instead of "getMyClass"?
>>
>> ??
> 
> In the example a getMyClass is used. So i thought it might not be 
> possible to call "new MyClass" directly?

The idea is to be careful which heap MyClass is allocated on - the DLL's 
or the caller's?



More information about the Digitalmars-d mailing list