<div>Write a .rc file, and compile it with rcc (from Digital Mars).</div><div>That gives you a .res file.</div><div><br></div><div>So, for example, let's say you want to embed yolk.zip into an exe.</div><div><br></div>
<div>First, write yolk.rc with one line:</div><div>300 RCDATA "yolk.zip"</div><div><br></div><div>Then run this:</div><div>rcc yolk.rc</div><div><br></div><div>Then do this:</div><div>dmd egg.d yolk.res</div><div>
<br></div><div>Then the egg.exe should have yolk.zip embedded.</div>