I had a problem setting the image path in the resource file (.rc).
For some reasone, it was not possible to concatenate a specific line and text.
eg.
File1: #define Path "Brand_1" File2: #include File1 Logo BITMAP Path "\Logo.bmp"
The Borland Resource Compiler (5.4) gives an error message: 39: Cannot open file: Brand_1
EDIT: My question is: Is it possible to combine the path for loading the image using the variable of the resource string and the string (file name).
In addition, the project I'm working on is associated with a file (Logo.bmp), present in two places. I would like to have a switch (.bat file) to generate another resouce file depending on the requirements.
Thanks.
source share