How to embed data within an executable?

Gary Willoughby dev at nomad.so
Sun Feb 2 09:46:34 PST 2014


On Sunday, 2 February 2014 at 17:25:12 UTC, Orvid King wrote:
> Base64.encode(import("myFile"));` should work perfectly, 
> provided "myFile" is in a path passed to dmd with the -j switch.

Yep it does.


More information about the Digitalmars-d-learn mailing list