Hi
I would like to use * (multiplication) when defining a resource Id
example:
resource.h
#define ID_Location(n) (20*n)
xx.rc
in a string table
ID_Location(0) "Location 0"
ID_Location(1) "Location 1"
However the resource compiler does not know how to cope with * . The
Macro evaluates to the first number to the left of the expression i.e
20.
The compiler accepts the + sign , why doesnt it accept the * sign.
Can anybody Help / Explain what is going on and how do I solve this.
Sent via Deja.com http://www.deja.com/
Before you buy.