<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Thanks, good to know!</DIV>
<DIV> </DIV>
<DIV 
style="BORDER-BOTTOM-COLOR: #000000; BORDER-LEFT: #000000 4px solid; BORDER-TOP-COLOR: #000000; PADDING-LEFT: 5px; BORDER-RIGHT-COLOR: #000000; MARGIN-LEFT: 5px">
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV>"Jimmy Cao" <jcao219@gmail.com> wrote in message 
news:mailman.179.1305439270.14074.digitalmars-d@puremagic.com...</DIV></DIV></DIV>
<DIV 
style="BORDER-BOTTOM-COLOR: #000000; BORDER-LEFT: #000000 4px solid; BORDER-TOP-COLOR: #000000; PADDING-LEFT: 5px; BORDER-RIGHT-COLOR: #000000; MARGIN-LEFT: 5px">
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV>Write a .rc file, and compile it with rcc (from Digital Mars).</DIV>
<DIV>That gives you a .res file.</DIV>
<DIV> </DIV>
<DIV>So, for example, let's say you want to embed yolk.zip into an exe.</DIV>
<DIV> </DIV>
<DIV>First, write yolk.rc with one line:</DIV>
<DIV>300 RCDATA "yolk.zip"</DIV>
<DIV> </DIV>
<DIV>Then run this:</DIV>
<DIV>rcc yolk.rc</DIV>
<DIV> </DIV>
<DIV>Then do this:</DIV>
<DIV>dmd egg.d yolk.res</DIV>
<DIV> </DIV>
<DIV>Then the egg.exe should have yolk.zip 
embedded.</DIV></DIV></DIV></DIV></DIV></BODY></HTML>