On Tuesday, 9 June 2026 at 21:01:10 UTC, Alexander wrote:
I get error message from linker
```
windows.lib(core_1dba_4299.obj) : fatal error LNK1377: '_D7windows5win322ui5shell15NOTIFYICONDATAW6__initZ' symbol not found in object. The containing library is corrupt.
Error: linker exited with status 1377
```
[...]

As a workaround you can try

```d
NOTIFYICONDATAW nid = void; // This causes error LNK1377
```

which hopefully will supress the need for the symbol '_D7windows5win322ui5shell15NOTIFYICONDATAW6__initZ' (that is the default init stored in the static data).

Not granteed to work tho. BTW if that works take care to manually initialze the member, e.g a little shot of `memset`.
  • Windows: strange... Alexander via Digitalmars-d-learn
    • Re: Windows... user1234 via Digitalmars-d-learn
    • Re: Windows... kinke via Digitalmars-d-learn
      • Re: Win... Alexander via Digitalmars-d-learn
        • Re:... kinke via Digitalmars-d-learn
          • ... Alexander via Digitalmars-d-learn
            • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn

Reply via email to