2013-10-11 OutputDebugStringはリリースビルド時に呼び出し削除されない vc こんな感じで工夫しないと消せない。 #ifndef _DEBUG #define OutputDebugStringA(x) ((void)0) #define OutputDebugStringW(x) ((void)0) #endif ネタ元 http://blogs.konuma.org/blog/2010/06/outputdebugstri/