Embed glade file into a binary

llmp via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 17 11:36:52 PDT 2016


On Saturday, 17 September 2016 at 18:18:37 UTC, Geert wrote:
> I've compiled a small application, and it runs when i execute 
> it at the same directory where is the glade file.
>
> Is there a way to embed a glade file into a binary?

enum fileContent = import(file);

fileContent is a static array of ubyte.
the compiler must know the path to "file" via -J"dir/subdir"


More information about the Digitalmars-d-learn mailing list