Prev: CTreeCtrl : images on items
Next: Does anyone know where I can find info on RtlInitializeExceptionChain
From: Karthik on 22 Apr 2010 01:56 Hi, I get the error RC2177 with the latest WDK(7600.16385.1) for the following code: There is no problem in WDK 3790.1830 if(defined(LLONG_MAX) && (LLONG_MAX > CUSTOM_32__MAX) ) I have defined CUSTOM_32_MAX as below #define CUSTOM_32_MAX INT_MAX The value of INT_MAX is defined in limits.h in Visual Studio and WDK as below INT_MAX 2147483647 The value is correct. Can somebody please tell me as to what could be the problem. If I changed #define CUSTOM_32_MAX INT_MAX to #define CUSTOM_32_MAX INT_MAX -1 The compilation error is resolved. |