On Friday, 23 January 2026 at 15:05:56 UTC, Richard (Rikki) Andrew Cattermole wrote:
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.
Hi thank you

I will use this when I'm better at D. I try to be confident with the simple things like if,dowhile etc first, only using HUB run. The compiler and linker comes a bit later. I will surly test this the comming weeks, being able to map into MS systems are important, but for now a simple crossplatform GUI is all I need. I will start with dlangui.
  • simple gui on wi... Lars Johansson via Digitalmars-d-learn
    • Re: simple ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: sim... Lars Johansson via Digitalmars-d-learn
    • Re: simple ... Serg Gini via Digitalmars-d-learn
      • Re: sim... Lars Johansson via Digitalmars-d-learn
        • Re:... Lars Johansson via Digitalmars-d-learn
          • ... PeterHoo via Digitalmars-d-learn
            • ... Lars Johansson via Digitalmars-d-learn
          • ... Sergey via Digitalmars-d-learn
    • Re: simple ... Adam D. Ruppe via Digitalmars-d-learn
      • Re: sim... Lars Johansson via Digitalmars-d-learn

Reply via email to