I have several projects under the same solution . I want to add this to all my .rc files:
#define STR(x) #x
#define STRING(x) STR(x)
#define TESTER STRING(MACRO1.MACRO2)
MACRO1 = 9
MACRO2 = 10
these are two macros that I added at the property pages using : "User Macros"
I thought using the same "User macros" but how can I declare macro with a parameter input there? I also thought using header files but still it's duplication..
Is there a way to define these STR and STRING in common properties? or somehow just for my projects to read them ? Instead of adding the same code to all my sources?
thanks