delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/06/15:05:31

From: "bowman" <bowman AT montana DOT com>
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: <zolY2.560$bf3.3677@newsfeed.slurp.net>
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 <rylan AT intekom DOT com> 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.



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019