Desperately looking for a work-around to load and unload D shared libraries from C on OSX

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 18 02:11:35 PDT 2015


On 2015-09-17 23:13, bitwise wrote:

> True. Looking at his bug report now, it seems his dylib is a VST plugin.
> Had he just said that to begin with, this conversation would have been a
> lot easier -_-
>
> The op shouldn't have to actually modify druntime in this case. He
> shouldn't have to replace "_dyld_register_func_for_add_image".
>
> He can simply create a second empty callback in VSTPluginMain which will
> pin his library

That's pretty clever, why didn't I think of that :)

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list