On 16/10/2023 4:31 PM, dan wrote:
I suppose if i could figure out a way to make all other modules depend on my module this would happen, but the module which uses the variable i want to set is in some already-compiled dynamic library that i would prefer not to touch.

If its in a shared library, then that shared library gets setup prior to your binary.

There is nothing that you can do. You gotta override rather than initialize.
  • Forcing my modul... dan via Digitalmars-d-learn
    • Re: Forcing... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: For... dan via Digitalmars-d-learn
        • Re:... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
          • ... dan via Digitalmars-d-learn
            • ... bachmeier via Digitalmars-d-learn
              • ... dan via Digitalmars-d-learn
    • Re: Forcing... Paul Backus via Digitalmars-d-learn

Reply via email to