On Thursday, 1 October 2020 at 09:22:29 UTC, user1234 wrote:
On Wednesday, 30 September 2020 at 11:45:53 UTC, Ferhat Kurtulmuş wrote:
On Tuesday, 29 September 2020 at 21:22:21 UTC, WhatMeWorry wrote:
module user;

export { int myAddSeven(int a, int b); }

[...]

it is better to use this template https://github.com/dlang/dmd/tree/master/samples/mydll

You don't have a DllMain.

yeah that's the problem, check [0] OP. The author makes commercial dll on windows so he knows what he speaks about

[0] https://forum.dlang.org/post/mscgsclxwtjcferfx...@forum.dlang.org

Yes, but shouldn't the /NOENTRY option take care of that. Say, I just want to make a DLL of simple functions.

  • Trying to create a tri... WhatMeWorry via Digitalmars-d-learn
    • Re: Trying to cre... Ferhat Kurtulmuş via Digitalmars-d-learn
      • Re: Trying to... user1234 via Digitalmars-d-learn
        • Re: Tryin... WhatMeWorry via Digitalmars-d-learn
          • Re: T... kinke via Digitalmars-d-learn
            • ... WhatMeWorry via Digitalmars-d-learn
              • ... Ferhat Kurtulmuş via Digitalmars-d-learn
                • ... WhatMeWorry via Digitalmars-d-learn
                • ... Ferhat Kurtulmuş via Digitalmars-d-learn
                • ... Imperatorn via Digitalmars-d-learn
                • ... Ferhat Kurtulmuş via Digitalmars-d-learn
                • ... rikki cattermole via Digitalmars-d-learn
    • Re: Trying to cre... Виталий Фадеев via Digitalmars-d-learn

Reply via email to