On 24/01/2026 4:00 AM, Lars Johansson wrote:
import core.sys.windows.windows; The inputbox does not have a box. lld- link: error: undefined symbol: MessageBoxW It looks like windows do not have a messageBox at all.

https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-messageboxw

Library User32.lib
DLL     User32.dll

Slap on the import library user32.lib on your compiler command and it should link.

  • simple gui on wi... Lars Johansson via Digitalmars-d-learn
    • Re: simple ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
    • Re: simple ... Serg Gini via Digitalmars-d-learn
    • Re: simple ... Adam D. Ruppe via Digitalmars-d-learn

Reply via email to