Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!synoptics!mvis1.synoptics.com From: pbalaji@mvis1.synoptics.com (Balaji Pitchaikani) Newsgroups: comp.windows.ms Subject: Strange behaviour of RC Compiler Message-ID: <21899@mvis1.com> Date: 1 Sep 90 23:21:34 GMT Sender: pbalaji@synoptics.COM Lines: 22 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)