From: "bowman" Newsgroups: comp.os.msdos.djgpp References: <01be96aa$e3f8e960$LocalHost AT default> Subject: Re: RSXNTDJ and resources Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-ID: Date: Thu, 6 May 1999 12:41:41 -0600 NNTP-Posting-Host: 208.4.224.158 X-Trace: newsfeed.slurp.net 926016159 208.4.224.158 (Thu, 06 May 1999 13:42:39 CDT) NNTP-Posting-Date: Thu, 06 May 1999 13:42:39 CDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Stefan Viljoen wrote in message news:01be96aa$e3f8e960$LocalHost AT default... > Hi all, > > Anyboy got a URL(s) where I can get info on exactly how to use RSXNTDJ's > resource compiler (i.e . command line args and the associated code) to add > graphics and custom icons to a RSXNTDJ compiled .exe This is covered in the rsxntdj.hlp file distributed with the package. First , use grc to compile your .rc into a .res. From the DOS prompt, % grc foo.rc will produce foo.res. Then, compile and link your code to produce an .exe. use rsrc to add the resources to the exe, as in % rsrc foo.res foo.exe There are a few command line options that are covered in the hlp. foo.rc must be a valid resource file, obeying the standard syntax and layout. Add your icons, bitmap resources and so forth to it. The grc tool isn't real helpful if your .rc isn't correct, so start with a simple example and resources until you get what you want.