MessageBoxA linking error

bauss jacobbauss at gmail.com
Wed Dec 11 11:22:09 UTC 2024


Whenever I try to use MessageBoxA then I get a linking error that 
the symbol cannot be found.

I am importing core.sys.windows.windows.

What else am I missing?

The exact error:

```
lld-link: error: undefined symbol: MessageBoxA
>>> referenced by ...\source\client\source\main.d:24
>>>               
>>> ...\~master\build\application-debug-FMqG_QyKCCZMqpWApQaoww\....obj:(WinMain)
Error: linker exited with status 1
```


More information about the Digitalmars-d-learn mailing list