https://issues.dlang.org/show_bug.cgi?id=19051
--- Comment #3 from desi...@heidel.beer --- (In reply to desisma from comment #2) > I can repoduce this issue. > > ---- > > C:\D>dmd -m64 R:\test.d -L="C:\D\dmd2\windows\lib64\mingw\user32.lib" > > C:\D\dmd2\windows\bin\lld-link.exe: warning: app.obj: undefined symbol: > SetWindowLongPtrA > error: link failed > Error: linker exited with status 1 > > ---- > > Regards, > Elias In order to prevent confusion, I used a different test app than the one posted above. That's why the error message differs :) --