simple gui on windows 11

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Fri Jan 23 15:05:56 UTC 2026


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.



More information about the Digitalmars-d-learn mailing list