February 03, 2014 Re: How to embed data within an executable? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | On Sunday, 2 February 2014 at 16:48:17 UTC, Gary Willoughby wrote: > 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? Perhaps my Bin2D would help[0]. Basically creates a D array literal in a file you give it. [0] https://github.com/rikkimax/Bin2D |
Copyright © 1999-2021 by the D Language Foundation