re rc problems



Hi

I have had problems within drdialog displaying icons in dll's so
normally converted these into bitmaps which normally worked, using the
bmptodll tool, now with VxRexx I have hit a dead end, making the dll
with the drdialog tool does not work! using this version, which is meant
to be the good one :

IBM RC (Resource Compiler) Version 5.00.002 Dec 18 1997
Copyright (C) IBM Corp. 1997.
- Licensed Materials - Program Property of IBM - All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.

so I make a rc file uniarch.rc, which looks something like this:
BITMAP 1 convert.bmp
BITMAP 2 convertd.bmp
BITMAP 3 save.bmp
BITMAP 4 saved.bmp
BITMAP 5 new.bmp
BITMAP 6 newd.bmp

ICON 10 ARJ.ICO
ICON 11 Compress 04.ICO
ICON 12 LHA.ICO
ICON 13 LHA2.ICO
ICON 14 Info.ico
ICON 15 test2.ico
ICON 16 Zip.ICO
ICON 17 Zipped.ICO
ICON 18 zip2.ico

I make a res file
rc -r uniarch.rc uniarch.res all goes fine, I end up with a resource
file but how do I convert this to a dll
rc uniarch.rc uniarch.dll nor does rc -x2 uniarch.res uniarch.dll

RC :Error 1002:RC could not find file .

does not even say what file it's looking for, any ideas?????????????

In desperation I turned to a resource manager which I found on hobbes
http://hobbes.nmsu.edu/pub/os2/dev/util/resmgr.zip

make the res file rc -r mufile.rc myfile.res
resmgr.cmd -a uniarch.rc uniarch.dll,
seems to work then I normally
lxlite it, but not on all files so I need to know if I am using the
wrong switches with rc, because I did get it work work, just forgoten how!!!

Regards

Adrian
.



Relevant Pages

  • rc problems
    ... I have had problems within drdialog displaying icons in dll's so ... bmptodll tool, now with VxRexx I have hit a dead end, making the dll ... BITMAP 2 convertd.bmp ... ICON 10 ARJ.ICO ...
    (comp.os.os2.programmer.tools)
  • Re: Toolbar bitmap grief!
    ... compatible with my toolbar. ... Then send me the URL to this refresh icon or tell me how you converted it? ... You say change the background color, well by default for a toolbar bitmap ...
    (microsoft.public.vc.mfc)
  • Re: Some issues on Tk
    ... I use the "wm iconbitmap" command to change the icon of the main ... wm iconbitmap window ?bitmap? ... If bitmap is specified, then it names a bitmap in the standard ...
    (comp.lang.tcl)
  • Re: colored text and bitmap in CListBox
    ... Either way, if he uses LBS_HASSTRINGS in his listbox or stores them himself, ... for example, it would have a command to draw a string, then a bitmap, then ... then another bitmap, etc. ... would therefore display no icon, a circle-i, ...
    (microsoft.public.vc.mfc)
  • Re: colored text and bitmap in CListBox
    ... for example, it would have a command to draw a string, then a bitmap, then ... then another bitmap, etc. ... would therefore display no icon, a circle-i, ... class Icon: public MessageObject { ...
    (microsoft.public.vc.mfc)