On Sunday, 5 May 2024 at 18:28:29 UTC, SimonN wrote:
My implementation for the message box is now:
According to [UTF-8
Everywhere](https://utf8everywhere.org/#windows), I shouldn't use
`MessageBoxA` at all. The `A` means ANSI codepages, _not_ UTF-8.
My above code _will_ show garbage output
On Sunday, 5 May 2024 at 17:15:10 UTC, Steven Schveighoffer wrote:
} catch(Exception e) {
visualDisplayOfException(e);
throw e;
}
Thanks! That's practically the same pattern that I already use
for logging: Try-catch near the entry point, show the
On Sunday, 5 May 2024 at 14:55:20 UTC, SimonN wrote:
My application is a graphical game. I close stdout and stderr
by passing `-subsystem:windows` to `lld-link` to suppress the
extra console window. For a few fatal errors (missing required
resources, can't open display, ...), I throw
Hi,
for Windows, I link my executables with `lld-link`, whether for
32-bit and 64-bit and whether I've built with LDC or DMD.
How can I generate a dialog box for uncaught exceptions that fly
out of my executable's `main()`?
When I linked with Optlink years ago for Windows 32-bit, it
On Tuesday, 26 December 2023 at 10:53:10 UTC, Tony wrote:
I just typed in the program that is on the first page of Learn.
It has this line:
sort(chain(arr1, arr2, arr3));
I assigned that to a variable:
arr4 = sort(chain(arr1, arr2, arr3));
then printed it out
writefln("%s",arr4); //