On Tuesday, 24 July 2018 at 09:20:22 UTC, Mike Parker wrote:
On Tuesday, 24 July 2018 at 08:09:33 UTC, ANtlord wrote:

Anyway, if you are using OPTLINK or the MS Linker, try a test program without gtkD to make sure it works standalone for you.

```
import core.sys.windows.windows;

void main() {
MessageBoxA(null, "Look, Ma! No console!", "It works!", MB_OK);
}
```

You partially are right, the issue is related to the application internals but not to GTKD. I forgot that I launch the second application inside. I recompiled both of the with -L/SUBSYSTEM:windows -L/ENTRY:mainCRTStartup and that's it.

Thanks a lot everyone!

Reply via email to