use dll's

evilrat evilrat666 at gmail.com
Sun Mar 17 02:15:41 UTC 2019


On Saturday, 16 March 2019 at 15:13:15 UTC, ontrail wrote:
> On Saturday, 16 March 2019 at 14:18:07 UTC, Andre Pany wrote:
>> On Saturday, 16 March 2019 at 12:53:49 UTC, ontrail wrote:
>>> hi,
>>> i created a program (windows) and 2 dll's.
>>> how do i use the 2 d-language dll's in a d-language program 
>>> with only one GC?
>>>
>>> any help is appreciated.
>>
>> It is explained here (section d code calling d code in dll)
>>
>> https://wiki.dlang.org/Win32_DLLs_in_D
>>
>> Kind regards
>> Andre
>
> well thank you kindly.
> what i don't understand yet, is there a way to have the GC in 
> my program only once instead of several times with the dll's.

gc_setProxy is the way, read that article's section again.


More information about the Digitalmars-d-learn mailing list