On Wednesday, 5 April 2017 at 12:42:23 UTC, evilrat wrote:
On Wednesday, 5 April 2017 at 12:13:38 UTC, Satoshi wrote:
Hi,
How can I build single exe application with vibe.d (windows)?
now it require zlib.dll, libeay32.dll and ssleay32.dll

But I need it as single app.

btw, if all you need is to ship it as a single file and don't care if it writes anything, you can probably compile-in those .dll's to your .exe as string with D import statement and write them on disk from static module ctor (static shared this{} at module scope) when it launched.

Why is the writing to disk necessary? Seems like a costly step for no real benefit. The dll gets read in to memory anyways.

https://github.com/fancycode/MemoryModule

Reply via email to