using new in shared library causes access violation

dd0s via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jun 26 09:47:30 PDT 2015


On Friday, 26 June 2015 at 16:32:44 UTC, Adam D. Ruppe wrote:
> Did you call Runtime.initialized in the D side of that 
> initialization fucntion?

No i wasn't aware of that. Thank you so much Adam. I still don't 
know what it does exactly but i just call it when OnPluginInit() 
is called. Are you aware of any resources where i can read up on 
this?
btw bought your D Cookbook, and like it alot :3


if any1 is looking for it
http://dlang.org/phobos/core_runtime.html

import core.runtime;
then call
Runtime.initialize();



More information about the Digitalmars-d-learn mailing list