[comp.windows.ms] Strange behaviour of RC Compiler

pbalaji@mvis1.synoptics.com (Balaji Pitchaikani) (09/02/90)

Followup-To: 
Distribution: usa
Organization: SynOptics Communications Inc. Mountain View, Ca.
Disclaimer: Sender is *solely* responsible for the contents of message
Keywords: 

Hi,
    I noticed that rc compilers of windows 2.x and 3.0 behave
strangely when I use the following.

#define IDM_LAST 0x100

#define IDM_FIRST  IDM_LAST - 1
#define IDM_SECOND IDM_LAST

If I change the above "IDM_LAST - 1" to "IDM_LAST + 1" the compiler is
happy!!.

Any Comments,

balaji
(pbalaji@mvis1.synoptics.com)