Compiler or validator has some issues (bug?)
Posted: Tue May 20, 2008 9:37 pm
I use codegears tools, and it seems RB (Resource Builder) can't evaluate expressions such as this:
From sdkddkver.h:
In commctrl.rh:
Upon evaluation of NTDDI_VERSION the result is:
Number expected but got ver in expression.
From sdkddkver.h:
Code: Select all
#define NTDDI_VERSION_FROM_WIN32_WINNT2(ver) ver##0000
#define NTDDI_VERSION_FROM_WIN32_WINNT(ver) NTDDI_VERSION_FROM_WIN32_WINNT2(ver)
#define NTDDI_VERSION NTDDI_VERSION_FROM_WIN32_WINNT(_WIN32_WINNT)
Code: Select all
#if (NTDDI_VERSION >= NTDDI_LONGHORN)
#define TBS_TRANSPARENTBKGND 0x1000 // Background is painted by the parent via WM_PRINTCLIENT
#endif
Number expected but got ver in expression.