I´m working on VS2015 with a C++ project containing only one .rc
file. I would like to change the content of my .rc
file with preprocessor directives. For example, #define freeVersion
, set somewhere else in a header file.
But for some reasons, when I include the header file containing the define, I got errors like:
rc1004 unexpected end of file found
Is there a way to fix this issue (read about it but found nothing)? Should I use multiple .rc
files (free.rc
/ nonFree.rc
for example)?