I have an rc file that uses relative paths to search for resource files (pictures, etc.), for example
IDB_LINE BITMAP "..\\Shared\\Res\\line.bmp"
BUT - several projects include an rc file, and these projects are at different levels of nesting of resources within the solution.
As a result, some of them cannot find the relative path if I do not implement any heterogeneous solution (duplicate resources, create a hard link to the dir resource, etc.).
I would like the rc file to see its own directory for resource files, but it does not, unfortunately.
Alternatively, is there a way to refer to the contents of a variable $SolutionDirfrom a script (rc) header / resource file?
source
share