Replaced outputDebug by outputDebugString