Gary Willoughby:

I'm using DMD to create an executable and wondered what is the best way to embed data into it.

For example, i want to embed base64 image data in the executable then access it during runtime. Is this possible? if so how?

There are various ways to do it. If your data is not too much, one way is to use a "hex string". You can also use mixin(import("...")).

Bye,
bearophile

Reply via email to