Windows: strange linker error "fatal error LNK1377"
user1234
user1234 at 12.de
Wed Jun 10 08:31:07 UTC 2026
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`.
More information about the Digitalmars-d-learn
mailing list