Re: Add my own bitmaps into a resource file?



alanglloyd@xxxxxxx wrote:

SpeechMike.rc contents
SM1Pro BITMAP "..\Bitmaps\SM1Pro.bmp"
SM1ProBarcode BITMAP "..\Bitmaps\SM1ProBarCode.bmp"
SM1Classic BITMAP "..\Bitmaps\SM1Classic.bmp"

Note the file path names delimited with double quotes for long
filenames. The double quotes are not necessary for an 8.3 short
filename. Double dots mean the parent folder.

Then call BRCC32.exe as follows ...

Newer versions of Delphi will allow you to add the .rc to the project,
and the IDE will take care of calling the resource compiler for you.
--
Rudy Velthuis http://rvelthuis.de

"It was the experience of mystery -- even if mixed with fear --
that engendered religion."
-- Albert Einstein (1879-1955)
.



Relevant Pages

  • Re: For Loops and Space in Names
    ... Spaces don't belong in filenames and they make ... I'm going to include a script I wrote a long ... | One lesson I learned writing this was to use lot's of double quotes. ... Default is to recite commands and a -x option would make ...
    (Fedora)
  • Re: loop and list with bash
    ... quotes in shells have a totally different puropose than in other ... Another side effect of leaving a command substitution unquoted ... >> filenames with special characters in them. ...
    (comp.unix.shell)
  • Re: capital ->lower case?
    ... >> that none of the upper-cased filenames will collide when changed to ... The quotes aren't necessary in the echo ... informally) of excluding spaces or other whitespace characters. ...
    (alt.os.linux.suse)
  • Re: Couple of questions
    ... And never, NEVER use spaces in filenames, directory names, or other ... of course, you say, one has to enclose this in quotes: ... respected package at the time) and it failed to compile. ... So MSC required a kludge to ...
    (comp.text.tex)
  • Re: include graphics with spaces in the filename
    ... I wasn't aware that uppercasing means shouting in usenet. ... Just quoting such filenames does not work for all cases. ... %% It may be distributed under the terms of the LaTeX Project Public ... graphics-package are wrapped nested into quotes. ...
    (comp.text.tex)