simple gui on windows 11

Lars Johansson lasse at 11dim.se
Sat Jan 24 05:32:38 UTC 2026


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.


More information about the Digitalmars-d-learn mailing list