On Monday, 13 April 2026 at 23:58:38 UTC, Paul wrote:
On Thursday, 9 April 2026 at 09:33:24 UTC, Kagamin wrote:
try
```d
import core.sys.windows.winuser;
pragma(lib, "user32");
int main()
{
        MessageBoxW(null,"hello, world","test",0);
        return 0;
}
```
This actually compiled and ran w/o errors.  Thank you.

Could you show something simple and similar that would open a window?

I think you can fallow Adam approach and use his library. That likely will work well But if you can use WIN32API, you gotta study WIN32API and just use them with D, like in that sample.

But it's really alot of work but don't you just use a library instead of?

I asked GPT for sample as I'm not writing one now (it faster than ask GPT by now)

https://pastebin.com/mEPSRdLv

the "basis" CreateWindowEx() you use that to create everything, forms, buttons, edits, edits with multi-line etc.

I found this one that's likely more complete https://github.com/jacobsebek/jittey

good luck


Reply via email to