Hi Bernard, Try putting this in the code just before line 522 and line 823: #ifdef max #error "BZZZT: max was defined as an evil macro function" #endif ...or use this band-aid instead before line 522 and line 823... #ifdef max #undef max #define max max #endif HTH, --Eljay