On Thursday, 9 April 2026 at 01:27:47 UTC, Paul wrote:
I have tried various approachs to create what is listed in the subject line - Windows-based text viewer. I've tried Visual-D, VSCode, DMD, LDC, Dlangui, arsd, GtkD, DMD, LDC, and ...of course AI. I'm embarrassed to say that I've yet to get a window to open and show a text file. Could someone point me to a simple solution to start with?

Use SDL3 ([bindings](https://code.dlang.org/packages/bindbc-sdl)) to create a window and draw into it. You can render text by using FreeType 2 or SDL3_ttf.

Some goals are:
-as little dependency on specific IDE's or compilers, if possible. Just include all the dependencies on the command line, if possible.

Use dub or redub. You really don’t want to include dependencies on the command line, it’s a pain.

Reply via email to