// stdafx.cpp : source file that includes just the standard includes // libIvy.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" #include void DebugTrace ( const char *fmt , ... ) { char buffer[4096]; va_list args; va_start( args, fmt ); vsprintf( buffer, fmt, args ); va_end( args ); OutputDebugString( buffer ); }