diff --git a/rostests/rosautotest/tools.cpp b/rostests/rosautotest/tools.cpp index 38df4aa096c..417e8091d1f 100644 --- a/rostests/rosautotest/tools.cpp +++ b/rostests/rosautotest/tools.cpp @@ -136,7 +136,7 @@ StringOut(const string& String, bool forcePrint) } DbgString[size] = 0; - DbgPrint(DbgString); + OutputDebugStringA(DbgString); } last_newline = curr_pos; @@ -153,7 +153,7 @@ StringOut(const string& String, bool forcePrint) memcpy(DbgString, NewString.c_str() + start, size); DbgString[size] = 0; - DbgPrint(DbgString); + OutputDebugStringA(DbgString); NewString.clear(); return NewString;