Hmmmm... I always use _CrtDbgReport(...) or one of the macros _RPT#