I believe that IDC_STATIC is _meant_ to be defined by the application - see the second hit on that Google list for example. == #ifdef IDC_STATIC #undef IDC_STATIC #endif #define IDC_STATIC (-1) ==