Re: use dll's

2019-03-16 Thread ontrail via Digitalmars-d-learn

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.


use dll's

2019-03-16 Thread ontrail via Digitalmars-d-learn

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.